-
Notifications
You must be signed in to change notification settings - Fork 2.9k
ComboBox/SplitButton Expand on Touch #4353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
chang47
merged 48 commits into
microsoft:master
from
jspurlin:jspurlin/ComboBoxExpandOnTouch
May 2, 2018
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
07b16f9
Add autoexpand on touch to align with the desired behavior
jspurlin 3502f3a
update to use pointer events for comboBox and splitButton
jspurlin 1deccdd
update snapshot
jspurlin 4f36e14
remove unused variable
jspurlin 06806a1
Add preventDefault and stopImmediatePropagation so that IE/Edge will …
jspurlin e6e0276
test change
78ee211
removed test push
aea2641
resolved merge conflict
020ed81
added change file
c60caca
update bundle size
8b888d8
temp combo box changes
fbb8857
added touch start event and added test cases
4c5720e
updated tests with else case
90c6ac1
resolved merge
b8b07c9
removed unneeded comment
fab1029
updated change list
0293d75
updated code to deal with async race conditions
fa7671e
removed stopping evnet handling that stops firefox from opening the g…
c284b76
cleaned up the code; made sure to cancel actions when they're finished
d6be2f4
fixed minor nitpick on style
30a2933
added if case to deal with touch event if there is no onclick; remove…
1fe7db7
removed unnecessary imports to reduce file size
ad563fe
fixed build problems; added constants
1702de4
changed readonly to const
f20265a
solved build problem with string types
ec0bd53
fixed missing const that's causing build break with defined type
51e730f
resolved merge
f8fea3b
resolved merge; moved reference of splitbutton container to component…
chang47 dd096d8
Merge https://github.com/OfficeDev/office-ui-fabric-react into jspurl…
chang47 acce342
added comment for time out
chang47 dbaa322
increased max size limit of bundle
chang47 e3ebdf7
Merge branch 'master' into jspurlin/ComboBoxExpandOnTouch
dzearing e57e6e9
resolve merge conflict
dd13382
updated contextual menu to address comments
089233c
added issue regarding dynamically generating a primary action into th…
a94b7c5
increased the size limit
71ade9a
updated with better comments and grammatical fixes
b68bf62
pulled latest from fabric
chang47 16a88a7
fixed edge async menu close bug
chang47 cec47d0
update test
chang47 6d3810e
bumped bundle size
chang47 1f9fd86
fixed gammar and moved some code around
chang47 8ce9bc7
made better callback name
chang47 9b45fef
added pointer and touch event
chang47 fb63fb8
fixed semicolon
chang47 e7d0229
updated bundle size
9d247be
resovled merge
d3b1d13
fixed bundle size to include keytip change
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
common/changes/office-ui-fabric-react/jspurlin-ComboBoxExpandOnTouch_2018-03-23-22-33.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "office-ui-fabric-react", | ||
| "comment": "SplitButton/ComboBox: added onTouch support for menu expansion.", | ||
| "type": "minor" | ||
| } | ||
| ], | ||
| "packageName": "office-ui-fabric-react", | ||
| "email": "[email protected]" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now if we are not
processingTouchbut there also isn't athis.porps.onClickwe will callthis._onMenuClickwhere as before we would not callthis.onMenuClick, is that expected?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're correct, I've changed it to an else if to only do a menu click if we're processingTouch