Skip to content

feat(BBBModal): add hideCloseButton prop to hide header close button - #79

Merged
Arthurk12 merged 2 commits into
bigbluebutton:developfrom
Arthurk12:issue/76
Sep 19, 2026
Merged

Arthurk12 merged 2 commits into
bigbluebutton:developfrom
Arthurk12:issue/76

Conversation

@Arthurk12

@Arthurk12 Arthurk12 commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

BBBModal always renders a close button in the header, with no way to suppress it. This blocks use cases that require a non-dismissible modal, such as mandatory-action dialogs or modals whose closing is controlled entirely by external logic.

Add a hideCloseButton prop (default false) that conditionally renders the close button, following the same pattern already used by noFooter.

Additionally:

  • chore(BBBModal): remove unused CloseButton styled-component:
    styles.ts defines a CloseButton styled-component that is never referenced: the modal's close button has always been rendered via BBButton in component.tsx instead. Remove the dead code.

Closes Issue(s)

Closes #76

BBBModal always renders a close button in the header, with no way to
suppress it. This blocks use cases that require a non-dismissible
modal, such as mandatory-action dialogs or modals whose closing is
controlled entirely by external logic.

Add a hideCloseButton prop (default false) that conditionally renders
the close button, following the same pattern already used by
noFooter.
styles.ts defines a CloseButton styled-component that is never
referenced: the modal's close button has always been rendered via
BBButton in component.tsx instead. Remove the dead code.
@Arthurk12 Arthurk12 changed the title feat(BBBModal): add hideCloseButton prop to hide header close button feat(BBBModal): add hideCloseButton prop to hide header close button Sep 19, 2026
@Arthurk12
Arthurk12 merged commit 3ede394 into bigbluebutton:develop Sep 19, 2026
2 checks passed
@Arthurk12
Arthurk12 deleted the issue/76 branch September 19, 2026 13:08
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