Components are sandboxed to iframes and the default policies are listed in this file. The
allow-top-navigation is not part of them. Without this, it is not possible to have links in components that open a link (for instance in other page of the streamlit app) using the current tab (meaning with
Thanks for sharing this question! I’d recommend posting this in GitHub Issues as a formal enhancement request so our product/engineering teams can take a look!