Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
joduplessis committed Jun 15, 2024
1 parent 7a9be32 commit 5311539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/popover/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const Popover = forwardRef((props: PopoverProps, ref) => {
onDismiss(e)
setReady(false)
if (refocus) childRef.current?.focus()
console.log(childRef.current)
}

const handleKeyDownDocument = (e) => {
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ import { IconLib } from '../icon'
import { CoreViewProps, Size } from '../types'

export type SelectProps = {
/**
* @description traps the focus within the options list
*/
trapFocus?: boolean
openOnFocus?: boolean
openOnMount?: boolean
Expand Down

0 comments on commit 5311539

Please sign in to comment.