vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug] Select Menu Content misaligned after browser resize

Open JacksMyth opened this issue 9 years ago • 5 comments

Steps to reproduce

Open the select dropdown, resize the window (causeing the select to resize). Can be repro'd at https://vuetifyjs.com/components/selects

Versions

Latest versions Occurs on chrome, ie (I think others as well)

What is expected ?

The select dropdown menu should reposition over the select component

What is actually happening ?

The menu content sometimes does not repositions properly and becomes misaligned

Reproduction Link

https://vuetifyjs.com/components/selects

screen shot 2017-09-11 at 4 55 09 pm

JacksMyth avatar Sep 11 '17 14:09 JacksMyth

@johnleider your fix did improve it substantially when resizing the window, but it still occurs (albeit very occasionally). However, when using 'maximize' and 'minimize' the bugs still occurs very frequently

I can still reproduce on the vuetifyjs documentation page, on both chrome and IE

JacksMyth avatar Sep 13 '17 09:09 JacksMyth

Can I say, common man lol

johnleider avatar Sep 13 '17 11:09 johnleider

Ty, I'll take a look

On Sep 13, 2017 5:43 AM, "Nikhil Gangai" [email protected] wrote:

@johnleider https://github.com/johnleider your fix did improve it substantially when resizing the window, but it still occurs (albeit very occasionally). However, when using 'maximize' and 'minimize' the bugs still occurs very frequently

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vuetifyjs/vuetify/issues/1680#issuecomment-329115688, or mute the thread https://github.com/notifications/unsubscribe-auth/AIpOggqxqsIkvb00FhrTxSRS50ieZ0IIks5sh6PGgaJpZM4PTTBR .

johnleider avatar Sep 13 '17 11:09 johnleider

I have tried multiple approaches to alleviate the issue, however, every solution yields a new potential issue.

Increasing debounce on resize Creating an additional debounce for onResize method along with deactivating and reactivating the menu This bug is caused by the width of the content menu being calculated before it has initiated its resize. You'll notice, that when increasing the window size, the issue is not reproduce-able. This is because the menu has a minimum width of its activator width.

johnleider avatar Sep 23 '17 02:09 johnleider

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

lock[bot] avatar Apr 15 '19 17:04 lock[bot]