Introducing CrudHunt:Open-source Full-stack CRUDs for Next.js by KeenThemes
Browse CrudHunt

Vis Timeline auto-align does not work on ranges


Greetings,

There seems to be a bug in the implementation of vis-timeline that is exclusive to Metronic. It seems to be related to the CSS, but I can't pinpoint where exactly the problem is.

In default Vis Timeline, the text label of an item that is of the 'range' type (those with a 'start' and 'end') have an auto-align that is dynamic: positioned left and shifted such that the contents is always visible on screen. This normal behavior can be seen with 'item 4' of the basic demo of Vis-Timeline (https://visjs.github.io/vis-timeline/examples/timeline/).

<a href=https://preview.keenthemes.com/metronic8/demo4/documentation/general/vis-timeline/basic.html target="_blank">In Metronic</a>, an item of the type 'range' does not behave in this expected way (and thus the label might not be visible even if the event is still happening). What is the way to fix this?

Thank you very much.

>
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (0)