live-html-preview icon indicating copy to clipboard operation
live-html-preview copied to clipboard

Live Preview misinterprets/crashes after empty link with solitary "#" is clicked.

Open mbennette68 opened this issue 7 years ago • 0 comments

  • VSCode Version: Code 1.10.2 (8076a19fdcab7e1fc1707952d652f0bb6c6db331, 2017-03-08T14:02:52.799Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:
Extension Author Version
html-snippets abusaidm 0.1.0
path-intellisense christian-kohler 1.2.0
python donjayamanne 0.6.0
auto-close-tag formulahendry 0.3.10
auto-rename-tag formulahendry 0.0.11
live-html-previewer hdg 0.0.1
docker-linter henriiik 0.3.0
Python-autopep8 himanoa 1.0.2
swift Kasik96 0.0.2
vscode-JS-CSS-HTML-formatter lonefy 0.2.2
MagicPython magicstack 1.0.7
csharp ms-vscode 1.8.0
swiftlint shinnn 0.1.3
python tht13 0.2.3
pygame-snippets tushortz 0.0.1
python-extended-snippets tushortz 0.0.1
bootstrap-3-snippets wcwhitehead 0.0.9

If I use bootstrap 3.3.7 just by itself and just have simple nav bar code inserted via a snippet, clicking on a link where only skeleton/empty links are present, Live Preview crashes and refuses to open again unless VSC is restarted.

Further, if the size of the page is reduced to say when the toggle (hamburger) is displayed in the upper right, then the drop down works. But if the size of the page is wider, and the word Dropdown (from the skeleton) with carrot is displayed, VSC Live Preview crashes upon clicking Dropdown.

Steps to Reproduce:

  1. Clicking on the LINK 1, on the Live Preview Page in the following code will cause the crash :

Visual Studio Code Test **************************************************************************************************************** 2. I found if that I add an actual link say like this: LINK 1 ... This will work or if I point to a local file, such as index.htm it will also work. **************************************************************************************************************** 3. Using the @import rule inside style tags does not seem to work either. **************************************************************************************************************** 4. I'm using old jQuery libs cause I'm following a course online and they use that.

I guess the simplest way I can phrase it is that Live HTML Preview does not ignore empty or place holder (# only ) links.

Thanks, MB

mbennette68 avatar Mar 25 '17 00:03 mbennette68