Blokks

Local scroll

By default, Blokks uses page scrolling if it doesn’t fit your screen. In most cases this is the best method. But, there are cases where you might want to have visitors scroll within the embed. To do so, set data-local-scroll to true.

Please note that by specification, sticky headers will not work inside elements with overflow: scroll or auto. Which is the case when data-local-scroll is enabled. So setting data-local-scroll to true will disable sticky headers automatically.

Option Values Default values
data-local-scroll true false false

Example

<script	defer src='[path-to-embed]'
  data-blokks-id='[schedule-id]'
  data-local-scroll=‘true’>
</script>