Skip to content

Commit

Permalink
when tab pressed it calls onDragEnd
Browse files Browse the repository at this point in the history
  • Loading branch information
robGardiner01 committed May 29, 2024
1 parent 3547c15 commit 46ef090
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,10 @@ export class Slider implements OnDestroy, ControlValueAccessor {
this.updateValue(this.max, event);
event.preventDefault();
break;
case 'Tab':
this.onDragEnd(event);
event.preventDefault();
break;

default:
break;
Expand Down

0 comments on commit 46ef090

Please sign in to comment.