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

QMenu does not recalculate position on content change #8175

Open
Demivan opened this issue Dec 9, 2020 · 0 comments
Open

QMenu does not recalculate position on content change #8175

Demivan opened this issue Dec 9, 2020 · 0 comments

Comments

@Demivan
Copy link

Demivan commented Dec 9, 2020

Describe the bug
QMenu does not recalculate position on content change.

Codepen/jsFiddle/Codesandbox (required)
https://codepen.io/demivan/pen/ExggwwE

To Reproduce
Steps to reproduce the behavior:

  1. Go to Codepen
  2. Switch tab in QColor
  3. QMenu does not change position on tab change.

Expected behavior
QMenu with QColor inside should move down.

Screenshots
Current:
screenshot_2020-12-09_16-56-18_340426248

Expected:
screenshot_2020-12-09_16-57-05_772777727

Platform (please complete the following information):
OS: Windows/Linux
Yarn: berry
Browsers: All

Additional context
I can see there is MutationObserver in QTooltip. Should there be one in QMenu?

pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2020
@pdanpdan pdanpdan self-assigned this Dec 10, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 11, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 11, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 13, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 15, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 15, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 15, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 16, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 16, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 16, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 16, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 17, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 17, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 17, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 17, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 17, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 18, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 18, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 18, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 18, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 18, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 19, 2020
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 21, 2020
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