fix(webui): prevent mobile sidebar tooltip and double-tap navigation
Integrate the focused Sheet autofocus and touch hover corrections from #5777 and #5641 on current main. Preserve caller focus overrides, keyboard accessibility, and the existing viewport/safe-area policy. Add App-level coverage for consecutive one-click topic selections and drawer dismissal alongside focus and emitted-CSS regressions. Co-authored-by: Nikko Gonzales <nikkoxgonzales@gmail.com> Co-authored-by: moran <moranfong@gmail.com>
This commit is contained in:
1 parent
d37d7c07c0
commit
13319dfe15
6 files changed
+265
-17
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import animate from "tailwindcss-animate";
|
||||
import typography from "@tailwindcss/typography";
|
||||
import plugin from "tailwindcss/plugin";
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
@@ -124,5 +125,13 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [animate, typography],
|
||||
plugins: [
|
||||
animate,
|
||||
typography,
|
||||
plugin(({ addVariant }) => {
|
||||
// Revealing controls on emulated hover can consume the first Safari
|
||||
// tap. Keep these sidebar hover effects on hover-capable pointers.
|
||||
addVariant("media-hover", "@media (hover: hover)");
|
||||
}),
|
||||
],
|
||||
};
|
||||
Reference in new issue
Block a user