Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Fix desktop poll votes not changing when clicking outside the vote selector (#3244)
Luke Vella8057da2b3972
diff --git a/apps/web/src/features/poll/components/vote-selector.tsx b/apps/web/src/features/poll/components/vote-selector.tsxindex 337a644de..11176256e 100644--- a/apps/web/src/features/poll/components/vote-selector.tsx+++ b/apps/web/src/features/poll/components/vote-selector.tsx@@ -64,10 +64,13 @@ export const VoteSelector = React.forwardRef<buttonVariants({size: "icon-sm",}),- // The default variant's backdrop-blur makes this button a containing- // block, which would trap the after:inset-0 overlay callers use to- // extend the tap target to the whole cell/row.- "backdrop-blur-none",+ // The default variant's backdrop-blur and press-scale each make this+ // button a containing block, which would trap the after:inset-0 overlay+ // callers use to extend the tap target to the whole cell/row. The scale+ // applies only while pressed, so it collapses the overlay between+ // pointerdown and pointerup: the release lands on the parent and the+ // click never reaches this button.+ "backdrop-blur-none not-aria-[haspopup]:active:scale-none",className,)}onClick={() => {