question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Settings/invites flashing (URL being flipping)

See original GitHub issue

In this thread, @abhijeetbodas2001 talks about a weird bug in the UI, which can be reproduced by doing the following.

  1. Go to organization settings/invitations
  2. Click on “Invite more users”
  3. The invite-users modal will open (with URL that of the message feed). Click on the “cancel” button in the bottom. The invite modal will close now.
  4. Click on the browser back button. The invite modal will open again (this time, with URL equal to /#invite!).
  5. Click on the browser back button again. This will cause the settings pane to flash, while the URL keeps flipping between the
  6. message feed one and the settings one. This loop seems to continue indefinitely if not intervened.

Similar behavior can be reproduced by:

  1. Go to settings (the URL should become https://chat.zulip.org/#settings/your-account)
  2. Replace the URL with https://chat.zulip.org/#organization/organization-profile

This can also be triggered by using the back button, which practically does the same thing (triggering hashchanged). bug

It’s quite likely that the logic for handling the hashes in the URL causes some kind of infinite loop that leads to this bug. Possibly relevant files: static/js/hashupdate.js, static/js/admin.js, static/js/settings.js, static/js/settings-panel-menu.js.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
amanagrcommented, Apr 6, 2021

2nd behaviour you described will be fixed by #17656

0reactions
timabbottcommented, Apr 9, 2021

My guess is that recent_topics.is_visible() is returning True when looking at an overlap on top of “recent topics”, like the invites modal.

function maybe_hide_recent_topics() {                                                                
    if (recent_topics.is_visible()) {                                                                
        recent_topics.hide();                                                                        
        return true;                                                                                 
    }                                                                                                
    return false;                                                                                    
}                                                                                                    
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting screen flicker when screen sharing
If your screen flickers black several times while you are screen sharing in a meeting, follow these steps to troubleshoot the issue.
Read more >
Betaflight 4.3 EASY Setup Guide -- PRESETS FAST! - YouTube
Use this Race Day Quads link to make a purchase: ... UAV Tech Discord: https://discordapp.com/ invite /rCCzgeT ...
Read more >
How to quickly fix common recording errors - Loom support
- Right-click on the Loom extension icon and then select Remove from Chrome. - Restart your Chrome browser. - Then reinstall it using...
Read more >
Online Invitation Maker - Paperturn
Create stunning online invitations for every occasion that look exactly like elegant paper invitations with a real page-flip effect!
Read more >
How to Fix 8 Common Facebook Frustrations - Techlicious
Scroll down to select “Settings,” then “Account Settings.” In the next screen, click Apps, then “Platform.” You will then be able to choose ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found