liriliri / eruda

Console for mobile browsers
https://eruda.liriliri.io
MIT License
18.84k stars 1.22k forks source link

会影响页面默认的overflow-x 滑动事件 #61

Closed rambo-panda closed 5 years ago

rambo-panda commented 6 years ago

测试环境

<!DOCTYPE html>
<html>
<head> <meta charset="utf-8">
    <title>测试页面</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
</head>
<body>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/eruda/1.4.3/eruda.js"></script>
    <script>try{window.eruda.init();}catch(e){};</script>
    <style>
    .test {
        overflow-x: auto;
        width: 200px;
        white-space: nowrap;
    }
    </style>
    <div class="test">当内容超出设定的宽度时自动出现横向滚动条</div>
</body>
</html>
surunzi commented 5 years ago

没看懂。。