Quasar: Error while closing qTime Popup by calling hide method on mobile

Created on 15 May 2020  路  1Comment  路  Source: quasarframework/quasar

Describe the bug
When in a mobile view (chromium simulation) error Error in v-on handler: "TypeError: Cannot read property 'getBoundingClientRect' of undefined" occurs when trying to close QTime popup using @input event

Codepen/jsFiddle/Codesandbox
https://codepen.io/codebreaker101/full/oNjPQdK

To Reproduce
Steps to reproduce the behavior:

  1. Go to codepen
  2. Open Inspector
  3. Toggle device toolbar
  4. Select one of the mobile clients
  5. Refresh page
  6. Open time selector and select hours and seconds
  7. Check console for error

Expected behavior
For the error not to occur.

Additional context
QDate works fine as it does not use getBoundingClientRect

bug

Most helpful comment

Fix will be available in "quasar" v1.11.3.

>All comments

Fix will be available in "quasar" v1.11.3.

Was this page helpful?
0 / 5 - 0 ratings