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

not respecting Safe-area on iPhones #41

Closed
Saqib92 opened this issue May 30, 2022 · 1 comment
Closed

not respecting Safe-area on iPhones #41

Saqib92 opened this issue May 30, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Saqib92
Copy link

Saqib92 commented May 30, 2022

Describe the bug
Using it in ionic project for mobile application. but on Iphone is it not respecting Safe areas. and going out side safearea which is causing issues. after opening the widget not able to close it.

Expected behavior
Should respect safes in iPhones

**Screenshot
Simulator Screen Shot - iPhone 13 Pro Max - 2022-05-30 at 13 31 30
**

@Saqib92 Saqib92 added the bug Something isn't working label May 30, 2022
@Saqib92 Saqib92 changed the title not respecting Safe-are on iPhones not respecting Safe-area on iPhones May 30, 2022
@walaszczykm
Copy link
Collaborator

Hello @Saqib92 👋
Sad to hear you have encountered an issue with the library.

We have already an opened issue for a similar case: #40
Currently, the best approach to resolve this issue is to preserve the safe area value before the widget is opened and then use this value to insert it as padding-top and padding-bottom on the Chat Widget container element using CSS. You can find a description for this workaround here: #40 (comment)

I am going to close this issue as a duplicate in favor of the first one. If you would find that your issue is not related to the mentioned one please feel free to reopen this one.

@walaszczykm walaszczykm closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants