Component
Nav (Preview)
Package version
9.74.1
React version
18.3.1
Environment
Happens in stackblitz as well
Current Behavior
When scrolling to the bottom of NavDrawer with NavDrawerFooter, the divider between NavDrawerBody and NavDrawerFooter is unexpectedly shown. This happens only sometimes, but is always reproducible on zoomed in browser. This is because the check for height in useDrawerBody.js is exact, but the actual values are not:
Expected Behavior
The divider is always hidden when scrolled to the bottom.
Reproduction
https://stackblitz.com/edit/rfaoh314?file=src%2Fexample.tsx
Steps to reproduce
- Zoom in browser to 110+%
- Scroll to the bottom of Nav
- The divider is visible even when it shouldn't
Are you reporting an Accessibility issue?
None
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
Component
Nav (Preview)
Package version
9.74.1
React version
18.3.1
Environment
Happens in stackblitz as wellCurrent Behavior
When scrolling to the bottom of NavDrawer with NavDrawerFooter, the divider between NavDrawerBody and NavDrawerFooter is unexpectedly shown. This happens only sometimes, but is always reproducible on zoomed in browser. This is because the check for height in
useDrawerBody.jsis exact, but the actual values are not:Expected Behavior
The divider is always hidden when scrolled to the bottom.
Reproduction
https://stackblitz.com/edit/rfaoh314?file=src%2Fexample.tsx
Steps to reproduce
Are you reporting an Accessibility issue?
None
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations