xenial-black
xenial-black4h ago

make menu open new tab

how make menu open new tab for some menu item?
2 Replies
kapa.ai
kapa.ai4h ago
Hi @JohnWazi. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but the knowledge sources do not contain explicit information or examples on how to make a menu item open in a new tab using Refine's menu system or the useMenu hook. All provided examples render menu items as standard links (using <Link> or <NavLink> components), which by default open in the same tab. There is no mention of adding target="_blank" or similar behavior for opening links in a new tab in the available documentation or blog posts. If you need this functionality, you would typically add a target="_blank" and rel="noopener noreferrer" to an <a> tag, but the official Refine examples do not show this pattern. You may need to customize your menu rendering logic to achieve this, but please note that this is not covered in the current knowledge sources. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai4h ago
<@1075449691631784027> Kapa.ai is still learning and improving, please let me know how I did by reacting below.

Did you find this page helpful?