fix offset of data_editor input when page is scrolled (#2208)
This commit is contained in:
parent
7f810ece21
commit
1b402b65be
@ -345,7 +345,11 @@ class DataEditor(NoSSRComponent):
|
|||||||
def get_ref(self):
|
def get_ref(self):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return {(-1, "DataEditorPortal"): Portal.create(id="portal")}
|
return {
|
||||||
|
(-1, "DataEditorPortal"): Portal.create(
|
||||||
|
id="portal", style={"position": "fixed", "top": 0}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# try:
|
# try:
|
||||||
|
Loading…
Reference in New Issue
Block a user