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

feat: wide popups #18

Merged
merged 3 commits into from
Jul 10, 2022
Merged

feat: wide popups #18

merged 3 commits into from
Jul 10, 2022

Conversation

dylandbl
Copy link
Owner

@dylandbl dylandbl commented Jul 10, 2022

Summary

Added new feature to support wide popups. Shows 8 emojis in a row.

Why this change is needed

Wide emoji popups are used in many sites, wanted to add built-in support for this format

What was done

  • Added wide prop to component
  • Variable popup height, depending on hideHeader and wide
  • Fixed the bounce animation to account for the new height possibilities
  • Changed some emojis in the example's sample array

With wide and hideHeader:
image

@dylandbl dylandbl merged commit fc63cf2 into main Jul 10, 2022
@dylandbl dylandbl deleted the feat/long branch July 10, 2022 20:10
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