Companion add-on for Firefox Relay. Keep your email safe from hackers and trackers. Make an email alias with one click, and keep your address to yourself.
When searching in the relay add on menu, the sizing can change causing white space (only happens in the "All email masks" tab).
When searching in the relay add on menu with a premium account and switching to the"All email masks" tab, then removing your search input, the size will not get reverted back to its original state (this only happens in the "All email masks" tab, and you have to click "All email masks" again for it to revert, as seen at the end of the bug demo).
You would need to use the scrollbar to move down and see the "Generate mask" button. (In https://github.com/mozilla/fx-private-relay-add-on/pull/531, this scrollbar is removed. The scrollbar is not needed with this PR's fix though, so there is no conflict here).
This PR fixes MPP-3395.
Bug description
When searching in the relay add on menu, the sizing can change causing white space (only happens in the "All email masks" tab).
When searching in the relay add on menu with a premium account and switching to the"All email masks" tab, then removing your search input, the size will not get reverted back to its original state (this only happens in the "All email masks" tab, and you have to click "All email masks" again for it to revert, as seen at the end of the bug demo).
You would need to use the scrollbar to move down and see the "Generate mask" button. (In https://github.com/mozilla/fx-private-relay-add-on/pull/531, this scrollbar is removed. The scrollbar is not needed with this PR's fix though, so there is no conflict here).
See the video here of the bug here:
https://github.com/mozilla/fx-private-relay-add-on/assets/59676643/8f39e98f-d911-484e-b737-e7debd04408a
Demo of fix
https://github.com/mozilla/fx-private-relay-add-on/assets/59676643/0dd3a379-343a-41d3-93d6-ca32b0dae792
How to test
Access a website that has a login form (e.g Reddit, Facebook, Youtube);
Create several masks, Field Icon should now display 2 tabs;
Search for a specific mask inside the Field Icon;
Cycle between tabs;
Observe behavior when removing the search input. The sizing should stay fixed.
Checklist
/frontend/src/styles/tokens.scss
).