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

fixes moveTarget() and clearFocus() actions. #7955

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

stopfstedt
Copy link
Member

@stopfstedt stopfstedt commented Jul 10, 2024

fixes ilios/ilios#5578
follow-up item to #7922

Copy link
Contributor

@michaelchadwick michaelchadwick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clearFocus() change still gives an error:
Screenshot 2024-07-10 at 2 36 17 PM

navigate to the target element of choice from the element that these
actions were invoked on, instead of relying on a tracked parent element
for this.
@stopfstedt
Copy link
Member Author

clearFocus() change still gives an error

yes. turns out that HtmlCollection does not have a forEach() method, since it's not an array. So I had to use a plain old for loop instead, boring.

anyway - now it's ready for review.

@stopfstedt stopfstedt marked this pull request as ready for review July 10, 2024 22:12
@michaelchadwick michaelchadwick self-assigned this Jul 12, 2024
@michaelchadwick michaelchadwick merged commit 6e1b0a2 into ilios:master Jul 12, 2024
46 checks passed
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

Successfully merging this pull request may close these issues.

LocaleChooser throws focus errors for several things now
2 participants