quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.29k stars 3.43k forks source link

Abnormal Behavior of Drawer when Layout Container is Enabled #17099

Open zouyaoji opened 1 month ago

zouyaoji commented 1 month ago

What happened?

When the container property of q-layout is set to true, the child components added to q-drawer are rendered twice.

image

What did you expect to happen?

The rendering should not be triggered twice.

Reproduction URL

https://stackblitz.com/edit/quasarframework-wgjn5y

How to reproduce?

  1. Go to the provided reproduction link.
  2. Click on 'Open preview in new tab'
  3. open console
  4. See the error

Flavour

Vite Plugin (@quasar/vite-plugin)

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

No response

Relevant log output

No response

Additional context

No response