Skip to content

Add optional prop to not dismiss Callout on focus loss#5092

Merged
dzearing merged 4 commits intomicrosoft:masterfrom
jetao-msft:no-dismiss-callout
Jun 5, 2018
Merged

Add optional prop to not dismiss Callout on focus loss#5092
dzearing merged 4 commits intomicrosoft:masterfrom
jetao-msft:no-dismiss-callout

Conversation

@jetao-msft
Copy link
Copy Markdown
Contributor

@jetao-msft jetao-msft commented Jun 4, 2018

Pull request checklist

  • Addresses an existing issue: Fixes #0000
  • Include a change request file using $ npm run change
  • Microsoft Alias (if you have one): jetao

Description of changes

This change adds an optional prop on Callout which, if set to true, prevents the Callout from dismissing itself when it loses focus. This is potentially useful in TeachingBubble cases where the Callout is unprompted and we may want the Callout to stick around until the user explicitly acknowledges it.

Focus areas to test

(optional)

Microsoft Reviewers: Open in CodeFlow

@jetao-msft jetao-msft requested a review from joschect as a code owner June 4, 2018 22:49
@msftclas
Copy link
Copy Markdown

msftclas commented Jun 4, 2018

CLA assistant check
All CLA requirements met.

@dzearing dzearing merged commit 0ee4b7e into microsoft:master Jun 5, 2018
jetao-msft added a commit to jetao-msft/office-ui-fabric-react that referenced this pull request Jun 5, 2018
* Add optional prop to not dismiss Callout on focus loss

* Change file

* Update no-dismiss-callout_2018-06-04-21-44.json
Markionium added a commit to Markionium/office-ui-fabric-react that referenced this pull request Jun 6, 2018
* master: (31 commits)
  Charting (microsoft#4954)
  Deprecation lint rule! (microsoft#5109)
  Implement selection for selected items list (microsoft#5036)
  Ignore common/changes and don't prettify json files (microsoft#5112)
  Part 2 of demo page refactor (microsoft#5089)
  Update jest.js
  fixing official example page and datepicker/calendar components using… (microsoft#5108)
  Don't run prettier and tslint in parallel as it might cause conflicts (microsoft#5100)
  FocusTrapZone - restore last focused descendant element (microsoft#5103)
  Coachmark/TeachingBubble: Fix SCSS selectors for buttons and Close Icon (microsoft#4835)
  HoverCard: IE11 fix (microsoft#5105)
  FocusTrapZone bug allows breaking out of the trap (microsoft#4898)
  Applying package updates.
  Update ISSUE_TEMPLATE.md
  Experiment/Nav component: hide nav group header if all the links under it are hidden (microsoft#5095)
  Add optional prop to not dismiss Callout on focus loss (microsoft#5092)
  Experiments: moves ShimmerTile from Shimmer to Tile. (microsoft#5090)
  Run jest in parallel on Windows (microsoft#5096)
  Applying package updates.
  Major bump jest-serializer-merge-styles
  ...
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 30, 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.

3 participants