简体   繁体   English

防止悬停状态在Firefox DevTools中消失

[英]Prevent hover state to be dismissed in Firefox DevTools

I want the hover state of an element to be persistent when clicking on another element, but the Firefox DevTools remove the hover state. 我希望在单击另一个元素时,该元素的悬停状态保持不变,但是Firefox DevTools删除了该悬停状态。

See the following GIF: 请参阅以下GIF: 萤火虫悬停

Is there any solution for this? 有什么解决办法吗? In Chrome the hover state is not removed, therefore this behavior confuses me. 在Chrome中,悬停状态不会删除,因此此行为使我感到困惑。

Unfortunately there's no solution for this as of now. 不幸的是,到目前为止,还没有解决方案。 A bug has already been reported for this issue though . 但是已经报告了此问题的错误

There's currently (Firefox 52.0a1) no way to persistently show the highlighting of an element within the Firefox DevTools. 当前(Firefox 52.0a1)无法持续显示Firefox DevTools中某个元素的突出显示。

Though there is a feature request asking for this in bug 959073 . 尽管在功能959073中有一个功能要求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM