Files
OmniArr/src/main.tsx
T
WonderAliceUwU 50bdbce1bd 🐛 fix: ignore taps that end a scroll on mobile
Some mobile browsers fire a click when a scroll gesture ends over a poster,
which opened it by accident. Swallow clicks from touches that moved or while
a scroll is still settling, so only real taps reach the app.
2026-10-21 20:10:03 +02:00

14 lines
290 B
TypeScript

import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App'
import { installTapGuard } from './tapGuard'
installTapGuard()
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,
)