Zero icon indicating copy to clipboard operation
Zero copied to clipboard

Inbox Filters are Not Clearing on Navigating to Other Tabs

Open varundeva opened this issue 9 months ago • 1 comments

Bug Description

I added email filters like All Emails, Important Emails, etc. Those filters are showing in URL Query Params. If I navigate to Sent emails, Spam, etc, those query params are not clearing from the URL bar. So sent, spam also applies the same filters, so emails are not visible there until I manually remove the query params from the URL

Image

Steps to Reproduce

  1. Go to the Inbox
  2. Apply some filter from the Dropdown, by default it's Important. Change to something else
  3. Verify in the URL bar that it's showing a query parameter
  4. Now, go to Sent/Spam and any other URL

Expected Behavior

It should show a clean URL for the sent, spam, etc folder instead of adding the query parameter

Actual Behavior

It's carrying the query paramter with new URL after navigation

What browsers are you seeing the problem on?

Chrome

Application Version

135.0.7049.114

Environment Information

  • Mac os
  • Chrome browser

Relevant Log Output


varundeva avatar Apr 27 '25 10:04 varundeva

I think the problem could be on the navigate logic try using it with {replace:true} in navigate.

yash0632 avatar Apr 28 '25 09:04 yash0632