Skip to content
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

Click on Qfield with a button in the slot after is triggering this one and it shouldn't #17177

Closed
kevingermain opened this issue May 8, 2024 · 7 comments

Comments

@kevingermain
Copy link

What happened?

Everything is in the title, the click on the field with an after slot and button inside is trigger the click and it shouldn't:

You can check with field with an arrow icon on the right
https://quasar.dev/vue-components/field#standard

What did you expect to happen?

not triggering the button

Reproduction URL

https://quasar.dev/vue-components/field#standard

How to reproduce?

Everything is in the title, the click on the field with an after slot and button inside is trigger the click and it shouldn't:

You can check with field with an arrow icon on the right
https://quasar.dev/vue-components/field#standard

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

Components (quasar)

Platforms/Browsers

No response

Quasar info output

No response

Relevant log output

No response

Additional context

No response

Copy link

github-actions bot commented May 8, 2024

Hi @kevingermain! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

@kevingermain kevingermain changed the title Click on field with an after button is triggering this one and it shouldn't Click on Qfield with a button in the slot after is triggering this one and it shouldn't May 8, 2024
@rstoenescu
Copy link
Member

Hi,

It is unclear what exactly you are reporting. Please make a codepen. Show exactly what is triggered (and how).

@kevingermain
Copy link
Author

Check this input in Qfield Component page, click on it, the ripple is active on the button in the slot after (icon navigation):
image

Go to Qinput for the same field, the behavior is not the same.

I got this regression without touching my code

@rstoenescu
Copy link
Member

When you say the behaviour is not the same, what exactly are you referring to?
They seem the same for me.

Can we connect on Discord pls to speed this up, please?

@rstoenescu
Copy link
Member

Wait. I think I see what you mean.

@rstoenescu
Copy link
Member

What Quasar version have you upgraded from?

@rstoenescu
Copy link
Member

Fix will be available in Quasar v2.16.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants