What happened just before the problem occurred? Or what problem could this idea solve?
The writeup content of the post gets mixed up with the editor toolbar when scrolling or viewing content in general while making a post.
waridrox
Chrome v89
Possible solution could be to hide the transparency of the buttons and make them like the first half of the toolbar section so as to maintain the consistency.
Here's how one can reproduce the error -
Interestingly, I'm not able to reproduce the bug locally 馃 Can someone pls confirm -
Can I work on this?
@TildaDares sure 馃槃, go for it! 馃殌
@waridox I was able to reproduce the error locally. I think a possible fix would be to make these buttons have an opaque background.
What do you think?
Yes, @TildaDares you're thinking in the right direction! We don't require transparency on those buttons with the content.
This can be accomplished by adding this rule:
.btn-light {
background-color: white;
}
However, it should be noted that the Tags button is lacking the .btn-light
class for whatever reason so more investigation is required.
@eightballocto The Toolbar already has a btn-light class but btn-outline-secondary is overriding it. Also I can't find this page in my local environment, can you please show me where it is?
Just to be sure these are the tags you're referring to.
@eightballocto The Toolbar already has a btn-light class but btn-outline-secondary is overriding it. Also I can't find this page in my local environment, can you please show me where it is?
using Inspect Element in my developer environment. It seems like these buttons are dynamically generated or from elsewhere. The "Tags" button I was referring to is in the toolbar, not the text field.
Edit/Addendum: I was also unable to find these elements in my local environment, hence my suspicion of it being in a separate repository or dynamically generated (which wouldn't make much sense, if you ask me)
Hi all, @eightballocto is right and there's a different repository https://github.com/publiclab/PublicLab.Editor dedicated to the editor functionality and I recommend to take a look at https://github.com/publiclab/PublicLab.Editor/issues/664 to anyone who is trying to come up with the fix. Thanks :)
@waridox How do I link this issue to my PR?
Hey, you just need to add the issue number in the PR template.
Most helpful comment
Hey, you just need to add the issue number in the PR template.