Is JavaScript single threaded? If not, how do I get synchronized access to shared data?

前端 未结 7 1932
执笔经年
执笔经年 2020-12-17 01:12

I have a web page with DIVs with a mouseover handler that is intended to show a pop-up information bubble. I don\'t want more than one info bubble

7条回答
  •  臣服心动
    2020-12-17 01:28

    It could be that the display isn't refreshing fast enough. Depending on the JS library you are using, you might be able to put a tiny delay on the pop-up "show" effect.

提交回复
热议问题