gitbook-cli icon indicating copy to clipboard operation
gitbook-cli copied to clipboard

Navigating to an invalid link

Open KevinAst opened this issue 7 years ago • 0 comments

I am using gitbook-cli (ver: 2.3.0) to document my project: https://astx-redux-util.js.org/.

In development, if you reference an invalid link, it simply silently does NOT work. If you activate a browser console (F12), you will see the following error:

Uncaught TypeError: Cannot read property 'top' of undefined

I assume this is the result of a GitBook JavaScript module NOT properly recognizing this error condition.

It seems to me this condition should be recognized and an appropriate error communicated to the user?

Thoughts?

BTW: Great Library!

KevinAst avatar Apr 11 '17 19:04 KevinAst