Overlay over chats when Canvas opened only in light theme for Firefox #93
Labels
Area: Canvas
Bug
Something isn't working
Status: Already Implemented
A proposal which has already been implemented before
When the canvas is opened in the light theme and using Firefox, an overlay appears over the chats container. This overlay causes the text to be selectable, elements to be clickable, and users can copy content, but the elements are visually "ghosted" or obscured, so it probably has
poiner-events: none
prop on itself.This issue is specific to the light theme and only occurs in Firefox.
Or it's not a bug, it's a privacy feature xD
The problematic overlay css selector:
html.light body div.relative.flex.h-full.w-full.overflow-hidden.transition-colors.z-0 div div.pointer-events-none.absolute.left-0.top-0.z-10.h-full.w-full.bg-black/[0.025].dark:bg-transparent
The issue arises because I'm using the
[class^="bg-black"]
selector to apply a full bg color, but in this case, the element is semi-transparent. I'm still unsure why OpenAI is utilizing this element and why it's fully transparent specifically for the dark theme.Thank you @TheMaskedGuardian for helping me 🙏
The text was updated successfully, but these errors were encountered: