Problem/Motivation
If the footer is "light," the footer settings are difficult to access. Page dimension issue.
2 remaining problems:
- popover state is not synced with the backbone model state
- not possible to access the links inside the popover with the keyboard
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Capture d’écran du 2025-02-26 16-10-28.png | 12.84 KB | grimreaper |
| #9 | Capture d’écran du 2025-02-15 13-01-11.png | 24.53 KB | grimreaper |
| #9 | Capture d’écran du 2025-02-15 13-23-05.png | 19.13 KB | grimreaper |
| #3 | Peek 13-02-2025 17-17.gif | 778.77 KB | grimreaper |
| Accès modification footer .mp4 | 6.66 MB | laetitia_al |
Issue fork ui_suite_bootstrap-3503645
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
grimreaperComment #3
grimreaperWhen clicking on the contextual links pen, it opens and you can scroll down.
This is a Core feature/behavior, nothing special done in Sobki.
I guess in Core, there should be a check in JS to open to the top instead of to the bottom, but would require to use an external library that handles that.
Comment #4
grimreaperOr maybe in USB we can override contextual links to use https://getbootstrap.com/docs/5.3/components/popovers/ to render it. And the direction should be automatic.
Comment #5
laetitia_al commentedLet's try that !
Comment #6
grimreaperComment #7
grimreaperNeed help with contextual link JS, how better to integrate.
Comment #9
grimreaperShowing screenshots.
Comment #10
grimreaperComment #11
grimreaper2 remaining problems:
- popover state is not synced with the backbone model state
- not possible to access the links inside the popover with the keyboard
Comment #12
grimreaperMorning thought, instead of popover, maybe change into a dropdown (which if I remember correctly can also open automatically where there is enough space).
Comment #14
grimreaperdiscussed with @tocab, Bootstrap popovers can't have interactive links. So focus don't go in it.
I will try to use dropdowns instead.
Comment #15
grimreaperComment #17
grimreaperComment #18
grimreaperIt breaks the contextual links in admin theme.
Comment #19
grimreaperComment #21
grimreaperChange reverted and marking as postponed until Core issue is resolved.
Comment #22
grimreaperComment #25
grimreaperParent issue is now merged!
To restore when Core 11.3 will be released.
And need to update Core requirement.
Comment #27
grimreaper