FormidableLabs / spectacle-boilerplate

[DEPRECATED] Boilerplate project for getting started with Spectacle Core
579 stars 192 forks source link

Can't traverse using the CodeSlide extension with arrow keys. #78

Open LeonardAukea opened 5 years ago

LeonardAukea commented 5 years ago

Hi, I'm unable to traverse the CodeSlide extension with the arrow keys. Is there something that I'm missing? I'm using the spectacle mdx boilerplate.


import CodeSlide from 'spectacle-code-slide';

---
<CodeSlide transition={[]}
            lang="python"
            code={require("raw-loader!../assets/code.py")}
            ranges={[
              { loc: [0, 1], title: "Finally, some code" },
              { loc: [1, 3], title: "The Beginning" },
              { loc: [3, 5] },
              { loc: [1, 2], note: "Heres a note!" },
              { loc: [2, 3] },
              { loc: [4, 7] },
              ]}/>
---

It compiles and the slide is shown but none of the traversing functionality seems to work.

elektracodes commented 5 years ago

Me too. CodeSlide doesn't look like it works