Skip to content

Commit

Permalink
FIX: Correct position of topic progress in iOS when composer is visible
Browse files Browse the repository at this point in the history
This fix is needed due to what feels like an iOS Safari bug. The CSS rule `margin-bottom: env(safe-area-inset-bottom);` should not apply to the topic progress element when the composer is visible, because the element is not near the bottom of the viewport.
  • Loading branch information
pmusaraj committed Oct 3, 2019
1 parent 1051a95 commit 45a55a3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ export default Ember.Component.extend({
} else {
$wrapper.css(wrapperDir, "1em");
}

if (!isDocked) {
$wrapper.css("margin-bottom", "0px");
}
},

click(e) {
Expand Down

0 comments on commit 45a55a3

Please sign in to comment.