Overview
Prevent navigation in component preview (or even interaction?)
STR:
1. Enable overrides via enabling xb_dev_js_blocks.
2. In the overrides section, click on "Breadcrumb".
3. In the top right preview, you see "Home > News > Business". Click Business.
Expected: Nothing happens.
Current behavior: the iframe navigates to a 404.
Proposed resolution
Prevent links to be clicked? But you might want to be able to expand e.g. an hamburger menu. Maybe we only want to prevent navigation.
User interface changes
The top right preview keeps being a preview.
Comments
Comment #6
roshni upadhyay commentedComment #7
wim leersComment #8
wim leersComment #9
wim leersNote that this is not the same as #3514481: The navigation prevention inside the preview doesn't always work for code components:
Comment #12
balintbrewsComment #13
wim leers