palantir/blueprint

FR: Add `popoverProps` property to `TruncatedFormatProps`

Open

#6667 aperta il 23 gen 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: tableType: feature requesthelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 24g 18h) (17 PR mergiate in 30 g)

Descrizione

Environment

  • Package version(s): ^5.8.2
  • Browser and OS versions: Chrome 120.0.6099.234 & MacOS 14.2.1

Feature request

Add popoverProps property to TruncatedFormatProps

Examples

Currently, when using JSONFormat with detectTruncation=true and showPopover=true, the popover has some confusing behaviour. Would be nice to have options to configure the popover's behaviour (eg. setting interactionKind to HOVER_TARGET_ONLY to simply avoid these interactions)

  • Right clicking on the popover makes it look like you're copying the popover text but it's actually selecting the cell underneath

  • Highlighting some popover text and then cmd+c looks like you're copy/pasting the highlighted substring, but it's actually copy/pasting the entire cell

Guida contributor