Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: changed .modal-backdrop to .offcanvas-backdrop #5984

Merged
merged 2 commits into from
Aug 21, 2021

Conversation

nsi319
Copy link
Contributor

@nsi319 nsi319 commented Aug 19, 2021

Fix #5967

@@ -221,7 +221,7 @@ const Offcanvas: BsPrefixRefForwardingComponent<'div', OffcanvasProps> =
const handleHide = useEventCallback(onHide);

bsPrefix = useBootstrapPrefix(bsPrefix, 'offcanvas');
const modalBsPrefix = useBootstrapPrefix(undefined, 'modal');
const modalBsPrefix = useBootstrapPrefix(undefined, 'offcanvas');
Copy link
Member

Choose a reason for hiding this comment

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

We don't need modalBsPrefix anymore because it's essentially the same as the one above it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay. Let me make the necessary changes.

@nsi319
Copy link
Contributor Author

nsi319 commented Aug 21, 2021

Hi @kyletsang. May I know why Install Dependencies at checks failed previously?

@kyletsang kyletsang merged commit e3f6046 into react-bootstrap:master Aug 21, 2021
@kyletsang
Copy link
Member

Thanks!

@kyletsang
Copy link
Member

Hi @kyletsang. May I know why Install Dependencies at checks failed previously?

It's just an intermittent failure. Nothing to worry about

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.

Offcanvas is hidden behind modal-backdrop due to z-index, change to use offcanvas-backdrop
2 participants