Skip to content

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