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

Filtered Dropdown unusable on Windows Tablet #1411

Closed
slumtrimpet opened this issue Aug 5, 2021 · 1 comment
Closed

Filtered Dropdown unusable on Windows Tablet #1411

slumtrimpet opened this issue Aug 5, 2021 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@slumtrimpet
Copy link

slumtrimpet commented Aug 5, 2021

I'm submitting a ... (check one with "x")

[X] bug report
[ ] feature request
[ ] support request

Attempting to access filtered Dropdown in a Windows 10 tablet device (running Edge or Chrome browsers) immediately closes the dropdown and is therefore unusable.

A 'resize' event is being registered when the keyboard is displayed.

An update of the following in Dropdown.vue fixes the issue (but of course renders the auto-close on legit-resize event broken).

    bindResizeListener() {
      if (!this.resizeListener) {
        this.resizeListener = () => {
          if (this.overlayVisible && !DomHandler.isAndroid()) {
            // this.hide();  <<< REMOVED THIS FOR NOW
          }
        };
        window.addEventListener('resize', this.resizeListener);
      }
    }

Suspect you need something similar to DomHandler.isAndroid to detect a Windows device running in tablet mode to fix this properly (if that's possible).

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 19, 2021
@cagataycivici cagataycivici added this to the 3.7.0 milestone Aug 19, 2021
@cagataycivici
Copy link
Member

We'll check thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants