Files
react-native-devtools-frontend/front_end/ui/components/docs/data_grid/adding-data.html
T
Jack Franklin 9ce08209bf [DataGrid] auto scroll improvements
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>
2021-05-25 10:32:33 +00:00

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>