-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Prerequisites
- I am using the correct version of React-Bootstrap for my version of Bootstrap
- I have searched for duplicate or closed issues
- I have read the contributing guidelines
Describe the bug
When rendering Dropdown inside React.StrictMode, Dropdown.Menu does not respect horizontal boundary, and causes horizontal overflow.
Expected behavior
Dropdown should work properly inside Strict Mode
To Reproduce
start a fresh create-react-app project, install react18-rc.1, bootstrap 5, and react-bootstrap 2.X
render Dropdown inside StrictMode close to the edge of the screen.
Reproducible Example
see sandbox
Screenshots
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Chrome
What version of React-Bootstrap are you using?
2.2.0
What version of Bootstrap are you using?
5.1.3
Additional context
No response