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

hid device stop receiving data when select element is open #83

Open
JaosnHsieh opened this issue Oct 28, 2021 · 0 comments
Open

hid device stop receiving data when select element is open #83

JaosnHsieh opened this issue Oct 28, 2021 · 0 comments

Comments

@JaosnHsieh
Copy link

MacOS BigSur 11.2.3

Chrome Version 95.0.4638.54 (Official Build) (x86_64)

html

   <select>
      <option> test </option>
    </select>
device.addEventListener("inputreport", (e) => {
        const data = e.data.buffer;
        console.log(new Date(), "received data", data);
      });

When the user click the "test" select element to open it, it will stop receiving data.
Screenshot 2021-10-28 at 11 47 10 am

working example on codesandbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant