Skip to content

#5983 Fix: gmail top bar overlay issue #5993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ioanmo226
Copy link
Collaborator

This PR fixed gmail top bar overlay issue

close #5983 // if this PR closes an issue


Tests (delete all except exactly one):

  • Does not need tests (refactor only, docs or internal changes)

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

@ioanmo226 ioanmo226 marked this pull request as ready for review May 16, 2025 04:37
@ioanmo226 ioanmo226 requested a review from sosnovsky as a code owner May 16, 2025 04:37
@sosnovsky
Copy link
Collaborator

Hi @ioanmo226, I tested this PR but overlap behavior still happens on 550px window height after steps described at #5983 (comment). I also checked css code in chrome console to verify whether your style updates were applied - display: flex was present.

Screenshot 2025-05-16 at 11 09 30

@ioanmo226
Copy link
Collaborator Author

Hmm.. strange
It works fine for me in both chrome and firefox.
Could you maybe rebuild & restart extension and retry?

For me, this issue only happens for small height like 350px

@sosnovsky
Copy link
Collaborator

I re-tested it with flowcrypt.compatibility account and your fix works well there, but top bar still overlaps on my personal account. However, I noticed that flowcrypt.compatibility has multiple send as emails configured, while my personal account has a single send as email.

So seems like when compose box includes From section for choosing send as email - fix works, but when this section is not presented - behavior is the same as before your fix. Can be some difference in css classes in compose box when From section is added.

Screenshot 2025-05-16 at 15 12 48

@ioanmo226
Copy link
Collaborator Author

ioanmo226 commented May 16, 2025

Aha, got it. Let me take a look.
But IMHO maybe better to leave it for future if this is too time consuming as it's not critical UI issue?

@ioanmo226
Copy link
Collaborator Author

ioanmo226 commented May 16, 2025

Finished checking and this issue happens at below 380px for accounts without sendAs alias.

@ioanmo226
Copy link
Collaborator Author

Maybe something other related rather than sendAs?
My personal account without sendAs alias also seem to work fine.

@ioanmo226
Copy link
Collaborator Author

ioanmo226 commented May 18, 2025

@sosnovsky Please check again and let me know, I've tried with several accounts and all work fine for me.
Maybe need to reload extension as content script is chnaged?

@sosnovsky
Copy link
Collaborator

@sosnovsky Please check again and let me know, I've tried with several accounts and all work fine for me. Maybe need to reload extension as content script is chnaged?

Seems like this issue is similar to #5971 - initially it occurred only on my personal email account, but later became reproducible on other accounts as well.

I tested this overlay issue using flowcrypt.compatibility account on master branch - it doesn't occur there too. So it looks like some html/css changes have been rolled out to a subset of users (including my account and those of customers who reported the issue), and later they'll be applied to other users too. That's why on your side issue seems to be fixed.

I'll check it on my side to find working solution for updated Gmail html/css code.

@ioanmo226
Copy link
Collaborator Author

Aha, I see

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.

Gmail top bar overlaps with compose box on small screens
2 participants