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

Element.setCapture is deprecated #204

Open
jeremeevans opened this issue Oct 12, 2022 · 6 comments
Open

Element.setCapture is deprecated #204

jeremeevans opened this issue Oct 12, 2022 · 6 comments

Comments

@jeremeevans
Copy link

Element.setCapture is deprecated

This seems to break things in Firefox (on mac, not sure about elsewhere).

To Reproduce

Steps to reproduce the behavior:

  1. Using the Firefox browser, go to https://auro.alaskaair.com/components/auro/input
  2. Turn on developer tools
  3. Switch to mobile mode:

image

1. Attempt to focus on any one of the demo inputs. The element will not be focused and the following will be displayed in the console:

image

Expected behavior

No deprecation warning, the input is successfully focused.

Desktop (please complete the following information):

  • OS: Mac
  • Browser: Firefox
  • Version 105.0.2 (64-bit)
@jeremeevans jeremeevans added auro-input not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes labels Oct 12, 2022
@blackfalcon blackfalcon removed their assignment Oct 14, 2022
@blackfalcon
Copy link
Member

This issue is related to the following issue.

@jordanjones243
Copy link
Contributor

See AlaskaAirlines/auro-formkit#148 for further information on why this issue may be occurring.

@jordanjones243 jordanjones243 removed the not-reviewed Issue has not been reviewed by Auro team members label Oct 22, 2022
@blackfalcon
Copy link
Member

This issue will still remain in refinement until a fix is completed or deemed unnecessary.

@blackfalcon
Copy link
Member

Please reference this comment about next steps

@blackfalcon blackfalcon added the not-reviewed Issue has not been reviewed by Auro team members label Jan 21, 2023
@blackfalcon
Copy link
Member

StackOverflow article with possible solutions https://stackoverflow.com/questions/37810642/replacement-for-element-setcapture-in-chrome

@jason-capsule42 jason-capsule42 removed Type: Bug Bug or Bug fixes not-reviewed Issue has not been reviewed by Auro team members labels Oct 3, 2024
@jason-capsule42
Copy link
Member

Validate this is not something we do any more but it doesn't reproduce in Firefox currently.

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

4 participants