Skip to content

[RTE] Fix for rich text editor toolbar buttons hover state on Android devices#4748

Merged
vhuseinova-msft merged 10 commits intomainfrom
vhuseinova/toolbar-button-hover-state-fix-android
Jun 18, 2024
Merged

[RTE] Fix for rich text editor toolbar buttons hover state on Android devices#4748
vhuseinova-msft merged 10 commits intomainfrom
vhuseinova/toolbar-button-hover-state-fix-android

Conversation

@vhuseinova-msft
Copy link
Copy Markdown
Member

What

Previously, the rich text editor toolbar buttons (bold, italic...) were shown as selected even when the styles weren't applied. This PR is to fix this issue.
Steps to reproduce:

  • open rich text editor send box page on Android device
  • open a toolbar
  • click "B" button
  • type something
  • click "B" button again
  • check if the "B" button is not selected anymore

Why

How Tested

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@vhuseinova-msft vhuseinova-msft requested a review from palatter June 18, 2024 19:50
@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

Calling bundle size is not changed.

  • Current size: 5031600
  • Base size: 5031600
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

Chat bundle size is increased❗.

  • Current size: 2099233
  • Base size: 2098861
  • Diff size: 372

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

CallWithChat bundle size is increased❗.

  • Current size: 6392064
  • Base size: 6391692
  • Diff size: 372

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 26159 / 41085
63.67%
26159 / 41085
63.67%
715 / 1284
55.68%
2091 / 3312
63.13%
Current 26170 / 41096
63.68%
26170 / 41096
63.68%
715 / 1284
55.68%
2075 / 3302
62.84%
Diff 11 / 11
0.01%
11 / 11
0.01%
0 / 0
0%
-16 / -10
-0.29%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 51088 / 82610
61.84%
51088 / 82610
61.84%
1037 / 2323
44.64%
3037 / 4943
61.44%
Current 51036 / 82621
61.77%
51036 / 82621
61.77%
1037 / 2323
44.64%
3005 / 4920
61.07%
Diff -52 / 11
-0.07%
-52 / 11
-0.07%
0 / 0
0%
-32 / -23
-0.37%

@emlynmac
Copy link
Copy Markdown
Member

@vhuseinova-msft do the snapshots need updating? Are they now reflecting what they should?

@palatter
Copy link
Copy Markdown
Member

@vhuseinova-msft do the snapshots need updating? Are they now reflecting what they should?

Ya looks like the original snapshot was not the intended behaviour and they should be updated.

@palatter
Copy link
Copy Markdown
Member

Tested on Android and behavior looks correct

@vhuseinova-msft
Copy link
Copy Markdown
Member Author

@vhuseinova-msft do the snapshots need updating? Are they now reflecting what they should?

Ya looks like the original snapshot was not the intended behaviour and they should be updated.

@palatter you're right! Updating them right now

@vhuseinova-msft vhuseinova-msft added the update_snapshots Set this label to request automated update of UI snapshots label Jun 18, 2024
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Jun 18, 2024
@github-actions
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

@Leah-Xia-Microsoft Leah-Xia-Microsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Android and can confirm the fix.

@vhuseinova-msft vhuseinova-msft enabled auto-merge (squash) June 18, 2024 20:57
@github-actions
Copy link
Copy Markdown
Contributor

@vhuseinova-msft vhuseinova-msft merged commit cc68ba3 into main Jun 18, 2024
@vhuseinova-msft vhuseinova-msft deleted the vhuseinova/toolbar-button-hover-state-fix-android branch June 18, 2024 21:08
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.

4 participants