Skip to content

Conversation

@chfsx
Copy link
Member

@chfsx chfsx commented Feb 3, 2026

The left/right buttons in a lighbox modal trigger surrounding forms (e.g. the InfoPage is a form, for whatever reason...). this fixes https://mantis.ilias.de/view.php?id=46534

@chfsx chfsx added bugfix css/html Pull requests that propose changes to CSS/SCSS or HTML files. labels Feb 3, 2026
Copy link
Contributor

@thibsy thibsy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @chfsx

Thx for the fix, LGTM.

Just some background information for the general public: We currently lack a proper container where we can push our modals and lightboxes to, so this bandaid is way more easily applied than the proper solution would be implemented. Once we have such a container, we don't need to provide unnecessary HTML attributes for different possible parent containers anymore.

Kind regards
@thibsy (as UI coordinator)

@thibsy thibsy merged commit 61bf82e into ILIAS-eLearning:release_11 Feb 3, 2026
5 checks passed
thibsy pushed a commit that referenced this pull request Feb 3, 2026
…iners. (#11037)

* Fixes https://mantis.ilias.de/view.php?id=46534
* Add `type="button"` attribute to `<button>` elements of `Modal\Lightbox` components, to support various different parent containers such as `<form>`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix css/html Pull requests that propose changes to CSS/SCSS or HTML files. kitchen sink

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants