-
Notifications
You must be signed in to change notification settings - Fork 39
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
Modal rendering issues #59
Comments
This I agree with but I have one issue with this and that is the close icon, since it's part of the header, what would be the expected behavior of it if there is no title displayed? should it be hidden as well?
Can you provide some screen-shots for these? It would help me see what the problem is, thank you. |
To address the first point, I think it's fine if there is no close button. If the developer intentionally removes the title, then it's probably their responsibility to wire up a button. That, coupled with the backdrop being clickable to close the modal, it's probably fine. For my use case, when the user picks a day on the calendar, the modal automatically closes - I've already wired that up, and it does the right thing. Here is a screenshot from my android/samsung galaxy prime: |
Thanks, I'll try to fix this soon. I let you know when it's ready. |
Would love this feature 👍 |
This commit resolves the footer and header issues: a1e2bb6 It will be released with the next version. As for the zoom-in and overflow issues:
|
So I have two issues,
First, if I pass a
""
totitle
or a[]
tofooter
, then those pieces shouldn't render. There are definitely reasonable use-cases to not have a title or footer.Second, I'm having a small handful of mobile issues. For context, I'm embedding a calendar into a modal.
Otherwise, this library is great, so thanks for taking the time to develop it.
The text was updated successfully, but these errors were encountered: