Closed
Description
Describe the bug
ctrl+click
does not open links in a new tab.
To Reproduce
from reactpy import component, html, run, use_location
from reactpy_router import link, route, simple
@component
def root():
use_location()
return simple.router(
route(
"/",
html.div(
html.h1("Home Page 🏠"),
link(html.button("About"), to="/about"),
),
),
route("/about", html.h1("About Page 📖")),
)
Then ctrl+click
the link and note that the current page navigates to the link.
Expected behavior
The link should open in a new tab.
Metadata
Metadata
Assignees
Labels
No labels