linagora / esn-frontend-common-libs

Common ground for OpenPaaS frontend (https://open-paas.org)
Other
4 stars 12 forks source link

esn-frontend-application-grid#14: Now the application grid displays properly on iOS devices #131

Closed itswillta closed 4 years ago

itswillta commented 4 years ago

Resolves https://github.com/OpenPaaS-Suite/esn-frontend-application-grid/issues/14.

IMG_0120

Explanation: It's a Webkit bug. The popover is supposed to take the "body" element with position: relative; as the parent, but instead on iOS devices (which use Webkit-based browsers) it takes the ".aside" element with position: fixed; overflow: auto; as the parent. That's why it's truncated.

The code in this PR is a workaround to fix that bug (Android devices are unaffected).