diff --git a/reflex/components/datadisplay/dataeditor.py b/reflex/components/datadisplay/dataeditor.py index ecef03b38..635bbfc4f 100644 --- a/reflex/components/datadisplay/dataeditor.py +++ b/reflex/components/datadisplay/dataeditor.py @@ -345,7 +345,11 @@ class DataEditor(NoSSRComponent): def get_ref(self): return None - return {(-1, "DataEditorPortal"): Portal.create(id="portal")} + return { + (-1, "DataEditorPortal"): Portal.create( + id="portal", style={"position": "fixed", "top": 0} + ) + } # try: