- 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. - πΊπΈUnited States goose2000
@idiaz.roncero - thanks for looking. I want to help review / test:
data.domEvent.preventDefault();
Is this in the module? tabs.js ? I Don't see anything in the MR.
- πΊπΈUnited States goose2000
Okay, sorry, I got the patch downloaded from gitlab now, I'll try this on my development instance.
- Status changed to Needs review
about 1 month ago 11:51am 8 May 2025 - πΊπ¦Ukraine ozin
@goose2000 let us know if it works for you so we can merge it and release with a new version?
- πΊπΈUnited States goose2000
Hi - did get some testing done.
Upgrading drupal/ckeditor_bootstrap_tabs (dev-2.0.x 71b4aeb => dev-2.0.x cd0eb48): Checking out cd0eb480a8 from cache
And it is working for me on all tabs pages except one, so I know this must be some very local issue, particular to my content ( I will continue to troubleshoot this for myself, may be a bootstrap layout builder issue )
Editing my tabs fine here (basic page node) :
https://www.awesomescreenshot.com/video/39874452?key=3955205a5936623263a...It is working well ! Thanks all.