Skip to content

Commit

Permalink
Add new prop alwaysShowToolTip to ViewWin32 (#10381) (#10428)
Browse files Browse the repository at this point in the history
* add new prop alwaysShowToolTip to ViewWin32

* Change files

* Change files

Co-authored-by: dannyvv <dannyvv@microsoft.com>
Co-authored-by: Chiara Mooney <34109996+chiaramooney@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 8, 2022
1 parent 9620045 commit bc8fbcf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "add new prop alwaysShowToolTip to ViewWin32",
"packageName": "@office-iss/react-native-win32",
"email": "email not defined",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const UIView = {
needsOffscreenAlphaCompositing: true,
style: ReactNativeStyleAttributes,
// [Windows
alwaysShowToolTip: true,
accessibilityAccessKey: true,
enableFocusRing: true,
cursor: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ export interface IViewWin32Props extends Omit<RN.ViewProps, ViewWin32OmitTypes>,
animationClass?: string;
focusable?: boolean;
enableFocusRing?: boolean;
/*
* overrides the default behavior of some components that do not show a tooltip. i.e. components in a menu
*/
alwaysShowToolTip?: boolean;

/**
* The onBlur event occurs when an element loses focus. The opposite of onBlur is onFocus. Note that in React
Expand Down

0 comments on commit bc8fbcf

Please sign in to comment.