-
Notifications
You must be signed in to change notification settings - Fork 75
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
fix(input-time-picker): retain focus inside the input when clicked #10729
fix(input-time-picker): retain focus inside the input when clicked #10729
Conversation
**Related Issue:** #10482 ## Summary - **build: update browserslist db (#10629)** - **docs(angular): update example to use custom elements directly (#10686)** - **build(deps): update dependency @floating-ui/dom to v1.6.12 (#10681)** - **build(deps): update dependency @cspell/eslint-plugin to v8.15.6 (#10680)** - **build(deps): update dependency chokidar to v4 (#10643)** --------- Co-authored-by: Calcite Admin <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* skipped floating-ui.spec > "debounces positioning per instance"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with this as an internal property for now. 👍
I'm also in agreement to proceed with this as an internal prop for now. This might be useful for other component authors down the line. Introducing a |
…riklharper/10668-input-time-picker-focus-bug
eb9ac44
to
1bb8b68
Compare
…b.com:Esri/calcite-design-system into eriklharper/10668-input-time-picker-focus-bug
…lharper/10668-input-time-picker-focus-bug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
* Specifies whether focus should move to the popover when the focus trap is activated. | ||
* `@internal` | ||
*/ | ||
@property({ type: Boolean }) initialFocusTrapFocus: FocusTargetOrFalse; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WDYT about focusTrapInitialFocus
? I'll leave it up to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops, didn't see this comment. Ah well
Related Issue: #10668
Summary
This restores the original focus behavior when clicking the input in
input-time-picker
. Focus remains in the input for typing and selecting text.