Caleb Williams
Caleb Williams
@Lodin in my experience exports is spotty until everything adopts [email protected]. I’d definitely mark that as a to-do but maybe not right away unless it’s absolutely needed.
Also @Lodin let me know when this is final and I’ll try it out locally.
I could be way off base, but I think this is just how Gecko works. I’d be curious if the results in Safari because I think they have Chrome’s style...
Yeah, unfortunately `form.elements` (which is an `HTMLFormControlsCollection[]`) isn't mutable by the user. I'm more than happy to consider solutions, but don't have a really good idea how to implement that...
@jimmont would you be interested in adding this via PR? This could be globalized by using the `formsMap` object. If not, I'll take a stab at it soon.
OK, I'm finally getting around to this one, I have a [CodePen with a start for this](https://codepen.io/calebdwilliams/pen/eYGLdwd?editors=1010), but I don't have the sorting algorithm quite right. I'll work on it...
I might be able to add something soon. I’d also gladly accept a pull request @jrj2211
@jrj2211 yeah, that’s basically it. You might check the scoped registry polyfill. I did something similar there you might be able to pull from.
I thought about that, but messing with the user’s focus like that is generally a bad idea and we don’t want to have any elements focusable that wouldn’t be otherwise...
@jimmont did you ever come up with anything?