FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(BBButton): prevent size change on hover for tertiary variant when focused by Arthurk12 · Pull Request #22 · bigbluebutton/bbb-ui-components-react · GitHub

fix(BBButton): prevent size change on hover for tertiary variant when focused - #22

Merged
Arthurk12 merged 3 commits into
bigbluebutton:developfrom
Arthurk12:issue/21
May 12, 2026
Merged

fix(BBButton): prevent size change on hover for tertiary variant when focused#22
Arthurk12 merged 3 commits into
bigbluebutton:developfrom
Arthurk12:issue/21

Conversation

Arthurk12 commented May 11, 2026
edited
Loading

Copy link
Copy Markdown
Member

Replace border: none with border: 1px solid transparent in default and hover states so the button keeps consistent dimensions regardless of focus/active state, avoiding layout shift when hovering an active tertiary button.

Additionally:

  1. chore(BBButton): fix TypeScript index type error for optional $size prop
  2. chore(BBBTextInput): fix linter warning

Closes #21

Arthurk12 changed the base branch from main to develop May 11, 2026 18:47
Arthurk12 added 3 commits May 11, 2026 15:59
… focused

Replace `border: none` with `border: 1px solid transparent` in default
and hover states so the button keeps consistent dimensions regardless
of focus/active state, avoiding layout shift when hovering an active
tertiary button.
Use nullish coalescing to safely handle optional $size prop when
indexing CSS_SIZE_PROPERTIES, preventing "undefined cannot be used
as an index type" compile error.
Duplicate import of pallete.ts in TextInput component.
Arthurk12 changed the title Fix(Button): prevent size change on hover for tertiary variant when focused Fix(BBButton): prevent size change on hover for tertiary variant when focused May 11, 2026
Arthurk12 changed the title Fix(BBButton): prevent size change on hover for tertiary variant when focused fix(BBButton): prevent size change on hover for tertiary variant when focused May 11, 2026
Arthurk12 merged commit fe604d0 into bigbluebutton:develop May 12, 2026
Arthurk12 deleted the issue/21 branch May 12, 2026 16:14
Arthurk12 added a commit to guiiBecker/bbb-ui-components-react that referenced this pull request Jul 20, 2026
fix(BBButton): prevent size change on hover for tertiary variant when focused
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL