diff --git a/packages/@headlessui-react/src/components/popover/popover.tsx b/packages/@headlessui-react/src/components/popover/popover.tsx index 3f0642f4c5..034e22c87a 100644 --- a/packages/@headlessui-react/src/components/popover/popover.tsx +++ b/packages/@headlessui-react/src/components/popover/popover.tsx @@ -297,7 +297,7 @@ function PopoverFn( } } - // 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 diff --git a/packages/@headlessui-react/src/components/transition/transition.tsx b/packages/@headlessui-react/src/components/transition/transition.tsx index 1167e6ef7b..a61a7a0617 100644 --- a/packages/@headlessui-react/src/components/transition/transition.tsx +++ b/packages/@headlessui-react/src/components/transition/transition.tsx @@ -297,7 +297,7 @@ function TransitionChildFn ) { 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, diff --git a/packages/@headlessui-vue/src/components/popover/popover.ts b/packages/@headlessui-vue/src/components/popover/popover.ts index 5eb7d8ad1c..564c228fbc 100644 --- a/packages/@headlessui-vue/src/components/popover/popover.ts +++ b/packages/@headlessui-vue/src/components/popover/popover.ts @@ -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.