Skip to content

Commit da9e192

Browse files
authored
FIX: Mobile composer helper trigger should work on Android and iOS (#763)
1 parent 10dae65 commit da9e192

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

assets/stylesheets/modules/ai-helper/mobile/ai-helper.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
max-width: unset;
1616
z-index: z("fullscreen");
1717
top: calc(
18-
var(--mobile-virtual-screen-height) - var(--composer-helper-menu-height)
18+
var(--mobile-virtual-screen-height) - var(--composer-helper-menu-height) -
19+
env(keyboard-inset-height)
1920
);
2021
right: 0;
2122
padding-right: 1rem;
@@ -63,6 +64,12 @@
6364
}
6465
}
6566

67+
.ios-safari-composer-hacks .ai-composer-helper-menu:not(.is-expanded) {
68+
top: calc(
69+
var(--mobile-virtual-screen-height) - var(--composer-helper-menu-height)
70+
);
71+
}
72+
6673
@keyframes slide-in {
6774
0% {
6875
opacity: 0;

0 commit comments

Comments
 (0)