fix: Column resizing mouse cursor in data browser not visible in Safari browser#3246
Conversation
|
🚀 Thanks for opening this pull request! |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
📝 WalkthroughWalkthroughThis PR refactors the column drag handle implementation in the data browser, shifting handle positioning and styling from JavaScript-computed inline styles and props to CSS-based absolute positioning with conditional styling classes. The Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
src/components/DataBrowserHeaderBar/DataBrowserHeaderBar.react.js (1)
143-148: Thekeyprop on DragHandle is redundant.The
key={'handle' + i}is unnecessary since DragHandle is a single element inside the parent div which already has a unique key (key={'header' + i}). Keys are used for React reconciliation of sibling elements in lists, not for single child elements.♻️ Suggested fix
<DragHandle - key={'handle' + i} className={handleClassName} onDrag={onResize.bind(null, i)} onClick={e => e.stopPropagation()} />🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/DataBrowserHeaderBar/DataBrowserHeaderBar.react.js` around lines 143 - 148, Remove the redundant key prop on the DragHandle element inside DataBrowserHeaderBar: delete the key={'handle' + i} attribute from the DragHandle JSX (the parent div already uses key={'header' + i}), leaving DragHandle with className={handleClassName}, onDrag={onResize.bind(null, i)} and onClick handler unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@src/components/DataBrowserHeaderBar/DataBrowserHeaderBar.react.js`:
- Around line 143-148: Remove the redundant key prop on the DragHandle element
inside DataBrowserHeaderBar: delete the key={'handle' + i} attribute from the
DragHandle JSX (the parent div already uses key={'header' + i}), leaving
DragHandle with className={handleClassName}, onDrag={onResize.bind(null, i)} and
onClick handler unchanged.
ℹ️ Review info
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
src/components/DataBrowserHeader/DataBrowserHeader.scsssrc/components/DataBrowserHeaderBar/DataBrowserHeaderBar.react.jssrc/components/DataBrowserHeaderBar/DataBrowserHeaderBar.scsssrc/dashboard/Data/Browser/BrowserTable.react.js
💤 Files with no reviewable changes (2)
- src/components/DataBrowserHeader/DataBrowserHeader.scss
- src/dashboard/Data/Browser/BrowserTable.react.js
# [9.1.0-alpha.6](9.1.0-alpha.5...9.1.0-alpha.6) (2026-03-02) ### Bug Fixes * Column resizing mouse cursor in data browser not visible in Safari browser ([#3246](#3246)) ([e6fb4d7](e6fb4d7))
|
🎉 This change has been released in version 9.1.0-alpha.6 |
# [9.1.0](9.0.0...9.1.0) (2026-04-07) ### Bug Fixes * Bump fast-xml-parser from 5.3.5 to 5.3.6 ([#3223](#3223)) ([aee458b](aee458b)) * Cell content not selected on double clicking data browser cell ([#3271](#3271)) ([9df3beb](9df3beb)) * Column resizing mouse cursor in data browser not visible in Safari browser ([#3246](#3246)) ([e6fb4d7](e6fb4d7)) * Date value cannot be pasted into date field in data browser ([#3243](#3243)) ([e902bea](e902bea)) * Edit icon does not disappear when hovering out of saved filter name in data browser sidebar ([#3245](#3245)) ([d3dcfce](d3dcfce)) * Layout issues when resizing Cloud Config parameter dialog ([#3241](#3241)) ([c6e95d9](c6e95d9)) * Remove unused dependencies ([#3227](#3227)) ([3ba250d](3ba250d)) * Security removal dependency null-loader ([#3230](#3230)) ([5e1b1fa](5e1b1fa)) * Security removal dependency svg-prep ([#3236](#3236)) ([abb08c6](abb08c6)) * Security upgrade transitive dependency ajv ([#3231](#3231)) ([d1e5e41](d1e5e41)) * Security upgrade transitive dependency qs ([#3228](#3228)) ([225c710](225c710)) * Security upgrade transitive dependency undici ([#3229](#3229)) ([8e1be1f](8e1be1f)) * Security upgrade undici ([#3265](#3265)) ([df23ef8](df23ef8)) ### Features * Add confirmation dialog when closing Cloud Config edit parameter dialog without saving changes ([#3247](#3247)) ([9ec03e0](9ec03e0)) * Add diff view to Cloud Config parameter dialog for better conflict handling ([#3239](#3239)) ([f007a68](f007a68)) * Add support for data import in data browser ([#3244](#3244)) ([16f60f4](16f60f4)) * Enforce remote access restrictions on `agent` endpoint ([#3255](#3255)) ([edef824](edef824)) * Graph support for nested Object field values ([#3326](#3326)) ([4562381](4562381)) * Highlight row of selected cell in data browser ([#3270](#3270)) ([298ae63](298ae63))
|
🎉 This change has been released in version 9.1.0 |
Pull Request
Issue
Column resizing mouse cursor in data browser not visible in Safari browser
Tasks
Summary by CodeRabbit
Style
Refactor