Skip to content

Fix fullscreen dialog for small devices #12

@emibcn

Description

@emibcn

I have been reported about a bug in some small devices, where the dialog' Close button falls out of the view. The user needs to scroll down a bit to see the button. Looks like it's when the app is viewed directly from browser, while it is showing the navigation bar.

Initial view (before scrolling):

image

Final view (after scrolling down):

image

Fle: https://github.com/emibcn/covid/blob/master/app/src/Widget/Actions.jsx#L53

Some extra info: https://stackoverflow.com/questions/37395561/how-to-hide-a-mobile-browsers-address-bar
Possible solution: https://chanind.github.io/javascript/2019/09/28/avoid-100vh-on-mobile-web.html

Metadata

Metadata

Assignees

Labels

HacktoberfestSimple issues suitable Hacktoberfest PRsbugSomething isn't workingdesignSimilar to UI/UXjavascriptJavascript knowledge neededmaterial/uiRelated to Material/UI dependencyreactReact knowledge neededui/uxIssues related to design/UI/UX

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions