quasar: SVG icons inside of QNotify have broken layout [chrome only]

Describe the bug SVG icons inside of QNotify have broken layout. When a left icon is used with QNotify, the width is not calculated correctly resulting in a the svg icon taking up most space in the notify container and sometimes pushing out the elements.

Note: Issue only seems to occur with Chrome.

Codepen/jsFiddle/Codesandbox (required) https://codesandbox.io/s/broken-qnotify-quasar-pqehf

To Reproduce Steps to reproduce the behavior:

  1. Go to codesanbox and run
  2. Click on ‘Show Notification With Icon’
  3. Notice broken layout
  4. Click on ‘Show Notification Without Icon’
  5. Notice correctly displayed layout without icon.

See pages/index.vue for code

Expected behavior The QNofity when used with a left icon should have its width set correctly.

Screenshots Chrome (83.0.4103.61) screenshot

Chrome Canary (85.0.4158.5) screenshot2

Firefox (76.0.1) screenshot3

Platform (please complete the following information): Quasar: v1.12.0 Browsers: Chrome 83.0.4103.61, 85.0.4158.5

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

I just tried in a VM with Windows 10 and Chrome. Seems like something is wrong with local environment specific to Chrome. I’m going to guess this can probably be closed as it is only happening with me.

Thanks for everyone who tested.