Skip to content

Commit

Permalink
updating various typos (#3387)
Browse files Browse the repository at this point in the history
  • Loading branch information
austintoddj committed Jul 16, 2024
1 parent 557c103 commit f335372
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function PopoverFn<TTag extends ElementType = typeof DEFAULT_POPOVER_TAG>(
}
}

// Use another heuristic to try and calculate wether or not the focusable
// Use another heuristic to try and calculate whether or not the focusable
// elements are near each other (aka, following the default focus/tab order
// from the browser). If they are then it doesn't really matter if they are
// portalled or not because we can follow the default tab order. But if they
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function TransitionChildFn<TTag extends ElementType = typeof DEFAULT_TRANSITION_
ref: Ref<HTMLElement>
) {
let {
// Wether or not to enable transitions on the current element (by exposing
// Whether or not to enable transitions on the current element (by exposing
// transition data). When set to false, the `Transition` component still
// acts as a transition boundary for `TransitionChild` components.
transition = true,
Expand Down
2 changes: 1 addition & 1 deletion packages/@headlessui-vue/src/components/popover/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export let Popover = defineComponent({
}
}

// Use another heuristic to try and calculate wether or not the focusable
// Use another heuristic to try and calculate whether or not the focusable
// elements are near each other (aka, following the default focus/tab
// order from the browser). If they are then it doesn't really matter if
// they are portalled or not because we can follow the default tab order.
Expand Down

0 comments on commit f335372

Please sign in to comment.