Skip to content
Snippets Groups Projects
Commit ce0d01c0 authored by izabel's avatar izabel
Browse files

[LMS-1246] scroll info box into view

SVN: 13089
parent d76ead16
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,7 @@ public final class InfoBox extends Html ...@@ -86,6 +86,7 @@ public final class InfoBox extends Html
setStyleAttribute("backgroundColor", type.backgroundColor); setStyleAttribute("backgroundColor", type.backgroundColor);
setStyleAttribute("borderColor", type.borderColor); setStyleAttribute("borderColor", type.borderColor);
setHtml(text); setHtml(text);
getElement().scrollIntoView();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment