mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-08 10:29:37 +00:00
Automation editor mobile bottom sheet (#26680)
This commit is contained in:
@@ -75,11 +75,14 @@ export default class HaScriptFields extends LitElement {
|
||||
)!;
|
||||
row.updateComplete.then(() => {
|
||||
row.openSidebar();
|
||||
row.focus();
|
||||
|
||||
if (this.narrow) {
|
||||
row.scrollIntoView();
|
||||
row.scrollIntoView({
|
||||
block: "start",
|
||||
behavior: "smooth",
|
||||
});
|
||||
}
|
||||
row.focus();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user