Bug that two UIs of button group are displayed.
Closed this issue · 10 comments
Created a pull request
#237
@george0528 I haven't been able to reproduce this bug. The only time I've seen something similar is when I've had 2 copies of the extension enabled. Have you confirmed that's not the case for you?
@jasonlong
Thank you for bringing this issue to my attention. I can confirm that I have thoroughly checked and I do not have two copies of the extension enabled.
Interesting. And you see 2 sets of buttons when you go to any profile page?
Interesting. And you see 2 sets of buttons when you go to any profile page?
Yes it does. But I found that the two sets of buttons appear only if I reload my browser.
For example, if you go from the Repositories tab to the OverView tag, only one set of buttons is displayed.
Since the settingsPromise process is asynchronous, I thought the cause was that the processing takes place after the observer callback.
Therefore, in the pull request I created, I tried to solve the problem by making the settingsPromise process synchronous using await.
@jasonlong
My friend seems to be experiencing the same bug.
The bug started to occur after upgrading Chrome, so maybe that is the cause.
Thanks for the additional info @george0528. I'll get this merged today 👍
Thanks