getsentry / getsentry/sentry

Focus on time picker when entering value with keyboard

Open
#62,474 1 comment 4 reactions 0 assignees View on GitHub
Improvement
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

When I use the Sentry time picker and enter a value on the keyboard to set a custom period (eg. 2h for 2 hours, 3d for 3 days, 1w for last week, etc) I **always** try to lock it in by hitting enter. This does nothing until I hit the arrow key to select the first (often only) entry, and then hit Enter. Just a bit of friction that gets a bit annoying.

![time-picker](https://github.com/getsentry/sentry/assets/67560/16fc77af-c04c-4769-b2a6-1f5f378139b4)

### Solution Brainstorm

Focusing on the first entry so that enter works immediately would be great.

### Product Area

Other

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.