File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
reflex_ui/components/base Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ class TooltipPositioner(TooltipBaseComponent):
169169 track_anchor : Var [bool ]
170170
171171 # Determines how to handle collisions when positioning the popup.
172- collision_avoidance : Var [str ]
172+ collision_avoidance : Var [str | dict [ str , str ] ]
173173
174174 # Render prop for the positioner
175175 render_ : Var [Component ]
Original file line number Diff line number Diff line change @@ -262,7 +262,10 @@ class TooltipPositioner(TooltipBaseComponent):
262262 | Var [Literal ["absolute" , "fixed" ]]
263263 | None = None ,
264264 track_anchor : Var [bool ] | bool | None = None ,
265- collision_avoidance : Var [str ] | str | None = None ,
265+ collision_avoidance : Var [dict [str , str ] | str ]
266+ | dict [str , str ]
267+ | str
268+ | None = None ,
266269 render_ : Component | Var [Component ] | None = None ,
267270 unstyled : Var [bool ] | bool | None = None ,
268271 style : Sequence [Mapping [str , Any ]]
You can’t perform that action at this time.
0 commit comments