mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fixe
This commit is contained in:
@@ -288,8 +288,12 @@ export class AgendaPage implements OnInit {
|
||||
const shadowRoot = timelineContainer.shadowRoot;
|
||||
|
||||
const scrollContainer = shadowRoot.querySelector('main');
|
||||
|
||||
scrollContainer.scrollTop = timelineMarker['offsetTop'] - ((scrollContainer.offsetHeight/2) - 60);
|
||||
try {
|
||||
scrollContainer.scrollTop = timelineMarker['offsetTop'] - ((scrollContainer.offsetHeight/2) - 60);
|
||||
} catch (error) {
|
||||
//
|
||||
}
|
||||
|
||||
|
||||
}, timeout);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user