Skip to content

fix(BBBModal): footer tweaks, docs(BBBModal): enhance story usability#38

Merged
Arthurk12 merged 5 commits into
bigbluebutton:developfrom
Arthurk12:issue/36
Jun 9, 2026
Merged

fix(BBBModal): footer tweaks, docs(BBBModal): enhance story usability#38
Arthurk12 merged 5 commits into
bigbluebutton:developfrom
Arthurk12:issue/36

Conversation

@Arthurk12

Copy link
Copy Markdown
Member

What does this PR do?

Addresses a few tweaks for the footer in BBBModal component.
Also, enhances the usability of the story in Storybook for BBBModal, where the modal was being rendered over the Storybook UI and could not be closed.

Closes Issue(s)

Closes #37

Arthurk12 added 5 commits June 3, 2026 19:56
Use a controlled trigger-button pattern with a ModalStory wrapper
component to prevent the fixed overlay from covering Storybook's UI.
The modal can now be opened/closed via a button while keeping the
controls panel fully accessible. Syncs with the isOpen arg control
via useEffect and sets ariaHideApp={false} to avoid react-modal
warnings in the iframe context.
options

Add more elements to the modal body to enable meaningful testing of
the `allowScroll` option. Add a default footer with two buttons to
allow testing of footer rendering and the `showDividers` option.
When `noFooter` is true, the footer is still displayed if
`footerContent` is provided.

Update the footer visibility condition so `noFooter: true` hides
the footer regardless of whether `footerContent` is set.
content

When `stickyFooter` is set to false, the footer does not correctly
position itself below the full modal content and is affected by
additional padding.

Position the footer below the entire modal content when
`stickyFooter` is false, ignoring any additional padding.
The BBBModal background colors are hardcoded as `#fff` instead of
using the `colorWhite` CSS variable, causing them to ignore theme
overrides.

Replace all `#fff` occurrences with `colorWhite`.
@Arthurk12 Arthurk12 merged commit ef4107f into bigbluebutton:develop Jun 9, 2026
2 checks passed
@Arthurk12 Arthurk12 deleted the issue/36 branch June 9, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant