- Issue created by @klidifia
- πΊπΈUnited States goose2000
I believe I have this issue. I have a page where after I add a style (class) to a link , the page saves fine and mu button style is displayed.
Then if I go back to make some further edits, and I click on any of the tabs, the browser completely freezes, I can get no error message from the console. This is in the latest Chrome.
Bootstrap 5 theme.
D 10.3.5
Dev Version:
2.0.x-dev - πͺπΈSpain idiaz.roncero Madrid
idiaz.roncero β made their first commit to this issueβs fork.
- πͺπΈSpain idiaz.roncero Madrid
I was tinkering with he click on the tab link, which is not prevented, and annoys the user by navigating to the #anchor.
I found that preventing the native DOM click event handler, apart from improving UX, seems to fix this bug on firefox!
Attaching a MR to review and test.
- Merge request !113398855 - Prevent native event for better UX and Firefox bug fix β (Open) created by idiaz.roncero
- πͺπΈSpain idiaz.roncero Madrid
MR submitted and ready to review. The only change is the
data.domEvent.preventDefault();
line - the rest are just Drupal's coding standards applied to the JS file.