We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 950d15a commit 6bc2da8Copy full SHA for 6bc2da8
src/components/BrowserCell/BrowserCell.react.js
@@ -235,10 +235,12 @@ export default class BrowserCell extends Component {
235
236
// BrowserToolbar + DataBrowserHeader height
237
const topBoundary = 126;
238
+ // Account for BrowserFooter height when checking the bottom boundary
239
+ const bottomBoundary = window.innerHeight - 36;
240
241
if (left < leftBoundary || right > window.innerWidth) {
242
node.scrollIntoView({ block: 'nearest', inline: 'start' });
- } else if (top < topBoundary || bottom > window.innerHeight) {
243
+ } else if (top < topBoundary || bottom > bottomBoundary) {
244
node.scrollIntoView({ block: 'nearest', inline: 'nearest' });
245
}
246
0 commit comments