Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix popover text selection #1194

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Fix popover text selection #1194

merged 2 commits into from
Feb 20, 2025

Conversation

paustint
Copy link
Contributor

Remove focus trap as this was causing text selection issues in popover - could not figure out the reason why this was the case.

Changed the filter icon to filterList icon

Remove focus trap as this was causing text selection issues in popover - could not figure out the reason why this was the case.

Changed the filter icon to filterList icon
@paustint paustint requested a review from Copilot February 20, 2025 02:30
Copy link

socket-security bot commented Feb 20, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@floating-ui/[email protected] 🔁 npm/@floating-ui/[email protected] None 0 213 kB atomiks, fezvrasta
npm/@floating-ui/[email protected] 🔁 npm/@floating-ui/[email protected] None 0 166 kB atomiks, fezvrasta
npm/@floating-ui/[email protected] None 0 61.5 kB atomiks
npm/@floating-ui/[email protected] environment 0 745 kB atomiks
npm/@floating-ui/[email protected] None 0 64.9 kB atomiks, fezvrasta
npm/@headlessui/[email protected] 🔁 npm/@headlessui/[email protected] None 0 918 kB malfaitrobin
npm/@react-aria/[email protected] 🔁 npm/@react-aria/[email protected] None +1 1.12 MB aspro83, devongovett
npm/@react-aria/[email protected] 🔁 npm/@react-aria/[email protected] None 0 81.2 kB devongovett
npm/@react-aria/[email protected] 🔁 npm/@react-aria/[email protected] None 0 631 kB aspro83, devongovett
npm/@react-stately/[email protected] 🔁 npm/@react-stately/[email protected] None 0 65.8 kB devongovett
npm/@react-types/[email protected] 🔁 npm/@react-types/[email protected] None 0 86.9 kB aspro83, devongovett
npm/@tanstack/[email protected] 🔁 npm/@tanstack/[email protected] None 0 18.1 kB tannerlinsley
npm/@tanstack/[email protected] 🔁 npm/@tanstack/[email protected] None 0 203 kB tannerlinsley

🚮 Removed packages: npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected]

View full report↗︎

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 10 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • package.json: Language not supported
  • apps/landing/pages/pricing/index.tsx: Evaluated as low risk
  • apps/landing/components/Modal.tsx: Evaluated as low risk
  • libs/ui/src/lib/data-table/DataTableRenderers.tsx: Evaluated as low risk
Comments suppressed due to low confidence (3)

libs/ui/src/lib/sobject-list/SobjectListFilter.tsx:225

  • [nitpick] The icon name 'filterList' should be checked for consistency with other parts of the application to ensure it matches the intended design.
icon="filterList"

libs/ui/src/lib/sobject-field-list/SobjectFieldListFilter.tsx:169

  • [nitpick] The class name 'slds-button__icon' replaces 'slds-button__icon_large'. Ensure this change does not affect the intended icon size.
      <Icon type="utility" icon="filterList" description="Open filters menu" className="slds-button__icon" omitContainer />

libs/ui/src/lib/form/context-menu/ContextMenu.tsx:147

  • Verify that replacing FocusTrap with FocusScope does not introduce any new issues, especially related to focus management and text selection.
<FocusScope contain restoreFocus autoFocus>
@paustint paustint merged commit b634d12 into main Feb 20, 2025
7 checks passed
@paustint paustint deleted the bug/fix-popover-focus branch February 20, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant