OfficeDev / office-ui-fabric-core

The front-end CSS framework for building experiences for Office and Microsoft 365.
https://developer.microsoft.com/en-us/fabric
Other
3.78k stars 465 forks source link

Selection cannot be controlled by state #1247

Open ShawnXiao-Liu opened 3 years ago

ShawnXiao-Liu commented 3 years ago

No mater how I announce the Selection, when I called setState method or forceUpdate method, the Selection will roll back to its init status, which Selection.getSelection() is none.