mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-31 02:13:36 +08:00
This CL contains improvements to the auto scroll logic which means we can correctly resume scrolling when the user has prevented it (e.g. by selecting a cell) but then scrolled down to the end of the table. It also includes a suite of interaction tests to verify the behaviour and edge cases. Bug: 1211346 Change-Id: Ic0905aaf2bc35dcf20d1c74dab19fb7e9eacedd5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2914884 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
36 lines
705 B
HTML
36 lines
705 B
HTML
<!--
|
|
Copyright 2020 The Chromium Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file.
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>Adding data example</title>
|
|
<style>
|
|
#container {
|
|
width: 642px;
|
|
border: 1px solid black;
|
|
padding: 20px;
|
|
height: 200px;
|
|
}
|
|
|
|
button {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<button id="add">Add</button>
|
|
<div id="container">
|
|
</div>
|
|
|
|
<script type="module" src="./adding-data.js"></script>
|
|
</body>
|
|
</html>
|