Files
react-native-devtools-frontend/front_end/component_docs/data_grid_controller/basic.html
T
Jack Franklin af59080e20 [DataGrid] Don't attempt to re-focus column headers
We were being a bit keen when trying to re-focus a data-grid row if it
had lost focus due to being removed from the DOM and then added back in.
We don't need to apply that logic if the focused cell is a header,
because they are never removed from the DOM as the user scrolls.

Fixed: chromium:1173437
Change-Id: If27cbe70a4d3f7053581d0941869c30b827f2d57
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2667508
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
2021-02-02 11:53:59 +00:00

31 lines
644 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>Basic Data grid controller example</title>
<style>
#container {
width: 80%;
border: 1px solid black;
padding: 20px;
}
</style>
</head>
<body>
<div id="container">
</div>
<button id="add">add new row</button>
<script type="module" src="./basic.js"></script>
</body>
</html>