All ideas

marked this as In Progress·
marked this as Completed·
marked this as In Progress· 


Safe-Area Padding in fullscreen (PWA) mode
When a fullscreen-capable web app is installed as a PWA to the homescreen of iOS and Android devices, it is opened in full-screen mode (without a browser chrome). The header of the Sleek widget should have the following css property to ensure content is accessible: padding-top: env(safe-area-inset-top)
Activity · 5

Jonathan Ochmann

Marco
@monokee this has been added to the embed, we have created a new version for in-app mobile views. You need to add .../?style=mobile to your URL :)
marked this as In Progress·
marked this as Completed·
marked this as In Progress· 
Jonathan Ochmann
Any progress on this?

Jonathan Ochmann
@marco It would be greatly appreciated if this issue could be addressed. There are a few solutions I would like to propose: 1) Add a "margin-top" of "env(safe-area-inset-top)" to the widget. 2) Give us manual control over how the widget is embedded. That way we could append it to a custom container that has the appropriate margins. 3.) Provide the option for custom CSS for the widget. This would also allow us to fix the currently dysfunctional dark theme. Options 2 and 3 would be ideal if you don't plan to natively support fullscreen apps on notch based mobile hardware. (Which includes most high end iOS and Android devices in 2023). Thank you.

Jonathan Ochmann
Since this was never fixed, here is a hack I've been using for the sleekplan widget in the Color.io PWA: @supports (top: env(safe-area-inset-top)) { #sleek-widget-wrap { --slk-offset-top: calc(env(safe-area-inset-top) + 50px); top: var(--slk-offset-top)!important; height: calc(100% - var(--slk-offset-top))!important; } } Note that the additional 50px offset is specific to the Color.io app.
More in Bug
- Fix widget: open bug category with bug template, not generic form
- Team notifications not delivered to Sleekplan inbox
- Sleek Intelligence doesn't import conversations from Intercom
- Sleekmate transcriptions are broken
- Answer to a conditional survey question is duplicated on all the questions that should be skipped
