Skip to content

Conversation

@martellaj
Copy link
Member

Pull request checklist

Description of changes

Moves label outside of hit target so that user can click outside the TextField and dismiss the DatePicker. This is particularly useful in cases where the DatePicker is rendered in a small area and there's not much space around it for the user to click out and dismiss it.

@martellaj
Copy link
Member Author

Specifically, this bug fix is required for a new search feature in OWA. Thanks, guys!

@micahgodbolt
Copy link
Member

@johannao76 is this something someone on your team can take a look at?

@micahgodbolt
Copy link
Member

Also, @martellaj, can you take a look at Travis and see why this is failing build.

@martellaj
Copy link
Member Author

@micahgodbolt The failures looked unrelated. I'm rerunning it for the 3 repos it failed on to see if it's consistent.

@martellaj
Copy link
Member Author

@micahgodbolt All the failures seem like they're set up related. Is there someone who understands the CI builds more that can take a look?

@micahgodbolt
Copy link
Member

/home/travis/build/OfficeDev/office-ui-fabric-react/packages/office-ui-fabric-react/src/components/DatePicker/DatePicker.tsx

ERROR: 14:23 quotemark " should be '

Just a linting error it seems.

import { Callout } from '../../Callout';
import { DirectionalHint } from '../../common/DirectionalHint';
import { TextField } from '../../TextField';
import { Label } from "../../Label";
Copy link
Member

Choose a reason for hiding this comment

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

change " to '

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks!

@martellaj
Copy link
Member Author

martellaj commented Feb 7, 2018

@micahgodbolt, @dzearing, @lorejoh12, @johannao76 - I've worked out the build issues and test issues and now have all the checks passing. Can someone please review so I can get this checked in? Thank you!

@johannao76
Copy link
Collaborator

johannao76 commented Feb 7, 2018 via email

@martellaj
Copy link
Member Author

martellaj commented Feb 9, 2018

Ping... this a 4 line code change. Can one of the required reviwers (@johannao76 / @lorejoh12) please review?

@martellaj
Copy link
Member Author

Ping... @johannao76, @lorejoh12 - can someone please take a look? It's been 2 weeks without review from a required reviewer. Thanks!

@lorejoh12
Copy link
Contributor

sorry about the delay, looking at it

@lorejoh12 lorejoh12 merged commit 23070ca into microsoft:master Feb 12, 2018
@martellaj martellaj deleted the joem/fix-datepicker-hit-target branch February 12, 2018 20:02
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
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.

Move DatePicker label to its own subcomponent

4 participants