双击绘图时 jqplot 出现闪烁问题
双击 jqplot 图表时,它会闪烁并且不显示数据点。当我再次在画布外部单击时,它会重新出现。这就是例子。我是否缺少任何财产?
When double clicking a jqplot graph, it is blinking and not showing the data point. When I click outside the canvas again, it reappears. This is the example. Is there any property that I am missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在,我抓住了你。这是一个 webkit 的东西(Safari 和 Chrome 背后的引擎)。双击是“选择”div。
将此
-khtml-user-select: none;
添加到图表 div 样式中。如:这会使其表现良好吗?
Now, I got you. It's a webkit thing (the engine behind Safari and Chrome). The double-click is "selecting" the div.
Add this
-khtml-user-select: none;
to the chart div style. As in:Does that make it behave?