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

added positionOffset which allows a vertical offset for the flushbar #100

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

coolidm
Copy link

@coolidm coolidm commented Dec 16, 2019

This adds positionOffset which allows a vertical offset for the flushbar and addresses the open issue:
#98

The actual stacking logic is implemented in the application code, but the offset is needed to utilize the logic. Overlay is unchanged, so multiple active flushbar instances can stack overlays. Unsure how/if that needs to be addressed in this PR.

@coolidm
Copy link
Author

coolidm commented Jan 22, 2020

I updated the position calculation to use padding versus viewInsetsBottom. This seems to resolve issues with the iPhone X and the safe area.

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

Successfully merging this pull request may close these issues.

1 participant