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

Notes - NavigationDrawer rendering issue on iOS (with notch) #179

Open
molbertz opened this issue Jan 22, 2024 · 0 comments
Open

Notes - NavigationDrawer rendering issue on iOS (with notch) #179

molbertz opened this issue Jan 22, 2024 · 0 comments

Comments

@molbertz
Copy link

molbertz commented Jan 22, 2024

I've noticed a bug with the NavigationDrawer on iOS. It can be reproduced using the sample "Notes" app.
When setting a custom style for the scroll-pane (item list) in styles.css it will not render when rotating the device to the left. Instead it will default to a white background.
Interestingly this only appears on iPhones with a notch. No matter the iOS version.

An iPhone SE 2022 iOS 15 works just fine.
An iPhone 11 iOS 14 displays the bug.
An iPhone 15 iOS 17.2 also displays the bug.

styles.css
.navigation-drawer > * > .scroll-pane{ -fx-background: #333333; }

How it is supposed to look:
working
working2

How it looks when rotating to the left:
not-working

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

No branches or pull requests

1 participant