forked from MapComplete/MapComplete
SimpleAddUi: scroll to top if a preset is chosen
This commit is contained in:
parent
77a19d33f8
commit
452bf39561
5 changed files with 40 additions and 17 deletions
|
@ -39,6 +39,10 @@ export default abstract class BaseUIElement {
|
|||
|
||||
return this;
|
||||
}
|
||||
|
||||
public ScrollToTop(){
|
||||
this._constructedHtmlElement?.scrollTo(0,0)
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds all the relevant classes, space separated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue