Skip to content

Commit

Permalink
select field cursor pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
lerte committed Oct 12, 2024
1 parent 6b502bc commit b93d52f
Show file tree
Hide file tree
Showing 3 changed files with 1,144 additions and 1,142 deletions.
3 changes: 2 additions & 1 deletion packages/actify/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Menu } from '../Menus'
import { OutlinedField } from '../Field'
import React from 'react'
import clsx from 'clsx'
import styles from './actify.module.css'
import styles from './select.module.css'

interface SelectContextProps {
open: boolean
Expand Down Expand Up @@ -130,6 +130,7 @@ const Select = (props: SelectProps) => {
populated={populated}
aria-haspopup="listbox"
aria-controls="listbox"
style={{ cursor: 'pointer' }}
tabIndex={disabled ? -1 : 0}
aria-label={props['aria-label']}
aria-describedby="description"
Expand Down
2 changes: 1 addition & 1 deletion packages/actify/src/components/Select/SelectOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import React from 'react'
import { Ripple } from '../Ripple'
import { SelectContext } from './Select'
import clsx from 'clsx'
import styles from './actify.module.css'
import styles from './select.module.css'

interface MenuItemProps extends Omit<ItemProps, 'container'> {
value?: string
Expand Down
Loading

0 comments on commit b93d52f

Please sign in to comment.