Skip to content

Conversation

@KevinTCoughlin
Copy link
Member

@KevinTCoughlin KevinTCoughlin commented Sep 10, 2018

Pull request checklist

Description of changes

It appears that focus is behaving differently perhaps due to our <Layer> improvements in #6211. There was a <DatePicker/> focus change made in #5583 that assumed certain focus behavior that no longer applies (I think). Therefore to fix #6297 I reverted that commit.

I'd like to confirm that the issue from #5583 is also fixed even with the revert cc: @kisiebel please. It appears to be from my testing, but I don't have much context.

Focus areas to test

  1. Open the DatePicker in master and select dates.. it will aggressively re-render and maintain focus.
  2. Clone this branch
  3. Open the DatePicker and it will close on click-outside or selection of a date.
Microsoft Reviewers: Open in CodeFlow

@micahgodbolt
Copy link
Member

@lorejoh12 can you please review this PR. This is a pretty nasty bug we'd like to fix asap.

@kisiebel
Copy link
Contributor

It looks to me like the bug that my PR addressed is not an issue with this focus change, so this won't be a problem on that front!

@micahgodbolt micahgodbolt merged commit 02fe2d4 into microsoft:master Sep 11, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 30, 2019
@KevinTCoughlin KevinTCoughlin deleted the keco/datepicker-focus branch January 2, 2020 19:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Datepicker not closing

4 participants