-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: HoverCardTrigger is untappable on mobile #802
Comments
This was by designed as mentioned here |
But it's not like I can't open the hover card (which I can), but I can't simply tap on the link on mobile. |
Okay I did some digging and appearently Vue registers function App() {
const [count, setCount] = useState(0);
return (
<>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
<a href="https://react.dev" target="_blank">
<img src={reactLogo} className="logo react" alt="React logo" />
</a>
</div>
<h1>Vite + React</h1>
<div className="card">
<button
onClick={() => setCount((count) => count + 1)}
onTouchStart={(e) => {
e.preventDefault();
}}
>
count is {count}
</button>
<p>
Edit <code>src/App.tsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
</>
);
} <template>
<h1>{{ msg }}</h1>
<div class="card">
<button type="button" @click="count++" @touchstart.prevent="">
count is {{ count }}
</button>
<p>
Edit
<code>components/HelloWorld.vue</code> to test HMR
</p>
</div>
<p>
Check out
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
>create-vue</a
>, the official Vue + Vite starter
</p>
<p>
Install
<a href="https://github.com/vuejs/language-tools" target="_blank">Volar</a>
in your IDE for a better DX
</p>
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
</template> |
Thanks for the clarification guys! Yup I see the issue here now 😁 |
Environment
Link to minimal reproduction
https://stackblitz.com/edit/nuxt-starter-kklahm?file=app.vue
Steps to reproduce
Describe the bug
A user cannot press on a link with a HoverCard.
Expected behavior
No response
Context & Screenshots (if applicable)
Screencast_20240401_011302.webm
The text was updated successfully, but these errors were encountered: