File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -242,10 +242,14 @@ textAngular.directive("textAngular", [
242
242
event . preventDefault ( ) ;
243
243
event . stopPropagation ( ) ;
244
244
_body . off ( 'mousemove' , mousemove ) ;
245
- scope . showPopover ( _el ) ;
246
245
// at this point, we need to force the model to update! since the css has changed!
247
- // this fixes bug: #862
248
- scope . updateTaBindtaTextElement ( ) ;
246
+ // this fixes bug: #862 - we now hide the popover -- as this seems more consitent.
247
+ // there are still issues under firefox, the window does not repaint. -- not sure
248
+ // how best to resolve this, but clicking anywhere works.
249
+ scope . $apply ( function ( ) {
250
+ scope . hidePopover ( ) ;
251
+ scope . updateTaBindtaTextElement ( ) ;
252
+ } , 100 ) ;
249
253
} ) ;
250
254
event . stopPropagation ( ) ;
251
255
event . preventDefault ( ) ;
You can’t perform that action at this time.
0 commit comments