File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ export const DynamicPayButton = () => {
7272 'has-[:focus-visible]:outline-black/30 dark:has-[:focus-visible]:outline-white/20' :
7373 ! open ,
7474 'overflow-visible' : overflow ,
75- 'pointer-events-none' : loading ,
7675 } ,
7776 ) }
77+ inert = { loading ? '' : undefined }
7878 onAnimationComplete = { variant => {
7979 variant === 'open' && inputRef . current ?. focus ( { preventScroll : true } ) ;
8080 variant === 'closed' &&
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ export const PayButton = ({ className }: PayButtonProps) => {
3232 } ,
3333 className ,
3434 ) }
35- disabled = { success || loading }
3635 onClick = { handleLoading }
3736 >
3837 < AnimateDimension
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ const TabContentCard = () => {
7373 success ,
7474 } ,
7575 ) }
76- disabled = { success || loading }
7776 maxLength = { 3 }
7877 onChange = { e => setCcv ( e . target . value ) }
7978 pattern = "\d*"
Original file line number Diff line number Diff line change 11declare module 'tailwindcss/lib/util/flattenColorPalette' ;
22declare module 'tailwindcss/lib/util/color' ;
3+
4+ declare namespace React {
5+ interface HTMLAttributes {
6+ inert ?: '' ;
7+ }
8+ }
You can’t perform that action at this time.
0 commit comments