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

QDate - changing view "steals" focus even when prevented #14878

Closed
ddenev opened this issue Nov 12, 2022 · 1 comment · Fixed by #14868
Closed

QDate - changing view "steals" focus even when prevented #14878

ddenev opened this issue Nov 12, 2022 · 1 comment · Fixed by #14868
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 mode/spa Qv2 🔝 Quasar v2 issues

Comments

@ddenev
Copy link
Contributor

ddenev commented Nov 12, 2022

What happened?

As described in this post - #14841 - QDate "steals" the focus from the input element, even when I explicitly set this to be prevented.

I report this as a bug as I checked the code for QDate and I haven't been able to find a solid reason why QDate does this. In addition, this behavior currently conflicts with my use-case and I haven't been able (although I tried for a week) to find a userland solution to this.

Please, either remove this call to focus() or make it configurable.

Thank you!

What did you expect to happen?

Changing the view should not steal the focus from my input element, when I prevented it explicitly.

Reproduction URL

https://codepen.io/ddenev/pen/XWYjQKG

How to reproduce?

All described in the linked post - #14841

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar), SPA Mode

Platforms/Browsers

No response

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@rstoenescu
Copy link
Member

Fix will be available in Quasar v2.10.2 and v1.22.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-vite kind/bug 🐞 mode/spa Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants