fix(ui): stabilize mobile keyboard viewport handling (#1026)
* fix(ui): stabilize mobile keyboard viewport handling * fix(ui): tighten mobile keyboard viewport handling * Avoid redundant keyboard open store writes --------- Co-authored-by: vhqtvn <8930337+vhqtvn@users.noreply.github.com> Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
committed by
GitHub
co-authored by
vhqtvn
Bohdan Triapitsyn
parent
33b1b67514
commit
87db2ea210
@@ -223,6 +223,10 @@ textarea[data-chat-input="true"]:focus-visible {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
[data-keyboard-avoid-active="true"] {
|
||||
transform: translateY(calc(-1 * var(--oc-keyboard-avoid-offset, 0px)));
|
||||
}
|
||||
|
||||
/* Scroll shadow (HeroUI) fallback styling to ensure visible gradients without the Tailwind plugin */
|
||||
[data-scroll-shadow="true"] {
|
||||
--scroll-shadow-size: var(--scroll-shadow-size, 48px);
|
||||
|
||||
Reference in New Issue
Block a user