File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
### v3.0.1 (2 October 2017)
2
2
3
- * [ BUGFIX] Stop clearing the selection after an animation since it causes child form inputs to lose focus on each update. (#50 )
3
+ * [ BUGFIX] Prevent animating child selection with CSS rather than clearing with JS so form inputs don't lose focus on each update. (#50 )
4
4
5
5
### v3.0.0 (27 August 2017)
6
6
Original file line number Diff line number Diff line change @@ -281,6 +281,9 @@ export default class ReactCSSTransitionReplace extends React.Component {
281
281
left : 0 ,
282
282
right : 0 ,
283
283
bottom : 0 ,
284
+ // In Chrome a selection on a child due to multiple clicks often transfers to the final child after
285
+ // the transitions completes. This prevents selection of the child without other side-effects.
286
+ userSelect : 'none' ,
284
287
}
285
288
286
289
Object . keys ( prevChildren ) . forEach ( key => {
You can’t perform that action at this time.
0 commit comments