react-component / react-component/tabs

could we allow users overwrite the trigger condition of the hidden tabs' dropdown ?

Open
#396 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
572
Forks
241
Avg merge
4d 18h
Merged PRs (30d)
4

Description

Hi all, I met a problem with the hidden tabs' dropdown trigger logic

By default, we currently use hover to trigger the dropdown popup, but this is not a good practice I think, because the dropdown will be hidden soon once the mouse leaves the moreIcon or dropdown element.

image

This will make it difficult for users to switch to the tab they want because the dropdown can easily be hidden.

But, if the trigger condition is click it will be better.

I have already raised a PR to support this feature.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the hidden tabs' dropdown trigger logic and the existing overflow or more-icon behavior. Make the trigger condition configurable so users can choose click instead of hover, then verify that the dropdown remains usable while switching to a hidden tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.