Skip to content

[notification] Wrong positioning on iOS when zoom is changed #4320

Description

@knoobie

Description

iOS 15 bottom-end notification is shown on the whole body, because of the narrow spacing by default. (Good!)

26008D2A-5781-4BC6-B347-3B1A03AA7B33

iOS 16 beta2 on the other hand shows the notification only in the bottom right corner.. which in turn is a huge problem if the notification has more text (I can't share a real application public with it, but it looks horrible)

8173AE6C-7C79-41AC-9ADC-5E3A069364AC

I'm not sure if you are already wanna do something about it, or wait until iOS 16 is final. I wanted to mention it because I had to test different iOS versions with our application, because of a problem in iOS 15 that is fixed in iOS 16..

Expected outcome

The notification is shown like in iOS 15

Minimal reproducible example

https://vaadin.com/docs/latest/example?embed=notification-position-wc.js&import=component/notification/notification-position.ts

Click bottom-end and expect a full-sized notification like in iOS 15

Steps to reproduce

See example

Environment

Vaadin version(s): 23.1
OS: iPhone / iOS 15.5 (ok) / iOS 16 public beta 2 (failure)

Browsers

Safari on iOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions