You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Because the behavior works in the uswds examples, but not when imported into a project such as the test project provided, intuition leads me to believe that Safari requires a parent element to be styled a certain way in order to properly enforce wrapping.
The text was updated successfully, but these errors were encountered:
Describe the bug
In Safari (14.0.3) on MacOS the Wrapping Breadcrumb component overflows its parent container rather than wrapping.
Steps to reproduce the bug
I created a test-app that reproduces this behavior here (This app is just rendering the raw html with css classes imported):
or
http://localhost:3000/
)Expected behavior
The wrapping breadcrumbs should wrap as they do in other browsers, respecting the parent container's width.
Screenshots
The wrapping breadcrumb wrapping in Chrome:
The wrapping breadcrumb overflowing its container on Safari:
It is important to note when starting up uswds and viewing the component in Safari, wrapping behavior is working:
Similarly, on the usdws website, wrapping behavior is working:
System setup
Additional context
Originally discovered in trussworks/react-uswds#869
Note: Because the behavior works in the uswds examples, but not when imported into a project such as the test project provided, intuition leads me to believe that Safari requires a parent element to be styled a certain way in order to properly enforce wrapping.
The text was updated successfully, but these errors were encountered: