Skip to content

Commit

Permalink
Add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Feb 2, 2023
1 parent 20f8fa6 commit c64c2a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/components/src/box-control/input-controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ export default function BoxInputControls( {
* Supports changing pair sides. For example, holding the ALT key
* when changing the TOP will also update BOTTOM.
*/
// @ts-expect-error - event.altKey is only present when the change event was
// triggered by a keyboard event.
// @ts-expect-error - TODO: event.altKey is only present when the change event was
// triggered by a keyboard event. Should this feature be implemented differently so
// it also works with drag events?
if ( event.altKey ) {
switch ( side ) {
case 'top':
Expand Down

0 comments on commit c64c2a6

Please sign in to comment.