Skip to content

Moves label outside of DatePicker hit target#3832

Merged
lorejoh12 merged 8 commits into
microsoft:masterfrom
martellaj:joem/fix-datepicker-hit-target
Feb 12, 2018
Merged

Moves label outside of DatePicker hit target#3832
lorejoh12 merged 8 commits into
microsoft:masterfrom
martellaj:joem/fix-datepicker-hit-target

Conversation

@martellaj

Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@micahgodbolt

Copy link
Copy Markdown
Member

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

@micahgodbolt

Copy link
Copy Markdown
Member

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

@martellaj

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks!

@martellaj

martellaj commented Feb 7, 2018

Copy link
Copy Markdown
Member Author

@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

johannao76 commented Feb 7, 2018 via email

Copy link
Copy Markdown
Collaborator

@martellaj

martellaj commented Feb 9, 2018

Copy link
Copy Markdown
Member Author

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

@martellaj

Copy link
Copy Markdown
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
Copy Markdown
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