reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Drawer content has a blue ring by default

Open Alek99 opened this issue 11 months ago β€’ 8 comments

Describe the bug A clear and concise description of what the bug is.

By default the drawer has a blue ring.

To Reproduce Steps to reproduce the behavior:

  • Code/Link to Repo:
def sidebar(trigger) -> rx.Component:
   """The sidebar component."""
   return rx.drawer.root(
       rx.drawer.trigger(trigger),
       rx.drawer.overlay(),
       rx.drawer.portal(
           rx.drawer.content(
               rx.vstack(
                   rx.heading("Chats", color=rx.color("mauve", 11)),
                   rx.divider(),
                   rx.foreach(State.chat_titles, lambda chat: sidebar_chat(chat)),
                   align_items="stretch",
                   width="100%",
               ),
               top="auto",
               right="auto",
               height="100%",
               width="20em",
               padding="2em",
               background_color=rx.color("mauve", 2),
           )
       ),
       direction="left",
   )

Expected behavior

By default the drawer should not have a blue ring. Additional context Add any other context about the problem here.

To fix in the rx.drawer.content set the prop outline="none"

Alek99 avatar Mar 05 '24 23:03 Alek99

Hey @Alek99 , i repro'd the code you shared and i can't find the blue outline you speak of ? maybe I'm missing something?

image

Yummy-Yums avatar Mar 06 '24 19:03 Yummy-Yums

Screenshot 2024-04-03 at 9 32 29 AM

I seem to be seeing it on this main site

Alek99 avatar Apr 03 '24 16:04 Alek99

@Alek99 doesn't appear on my end

image

Yummy-Yums avatar Apr 03 '24 16:04 Yummy-Yums

Maybe its just on safari

Alek99 avatar Apr 03 '24 18:04 Alek99

It also seems to be on my chrome, that's odd. I'm on Mac what are you using?

Alek99 avatar Apr 03 '24 18:04 Alek99

i use linux, POP OS

Yummy-Yums avatar Apr 03 '24 20:04 Yummy-Yums

obrazek

Linux mint firefox

danik292 avatar May 21 '24 14:05 danik292

@Yummy-Yums What browser are you using?

danik292 avatar May 21 '24 14:05 danik292