Skip to content

Commit

Permalink
fix modal close blind spot
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbenington committed Jan 5, 2025
1 parent c552cdf commit 56451da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pokemon/PokemonDetailsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const PokemonDetailsModal = (props: {
{boxIndicatorProps && (
<div
className="modal-box-indicator-wrapper"
style={{ opacity: boxIndicatorVisible ? 1 : 0 }}
style={{ opacity: boxIndicatorVisible ? 1 : 0, pointerEvents: 'none' }}
>
<MiniBoxIndicator {...boxIndicatorProps} />
</div>
Expand Down

0 comments on commit 56451da

Please sign in to comment.