Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot inspect Map in vue-devtools #744

Closed
awacode21 opened this issue Aug 17, 2018 · 6 comments
Closed

Cannot inspect Map in vue-devtools #744

awacode21 opened this issue Aug 17, 2018 · 6 comments

Comments

@awacode21
Copy link

Version

4.1.5

Browser and OS info

Google Chrome Version 68.0.3440.106 (Official Build) (64-Bit) on Windows 10

Steps to reproduce

Here is a little code sandbox:
Code:
https://codesandbox.io/s/m9qr69jmkp
Preview:
https://m9qr69jmkp.codesandbox.io/

Using the inputs you can add values to the map.
The console.log shows you all the map content, but using vue-devtools it is not possible to inspect the map.
You can only see "myMap: Map" .. so you can see that it is a map, but cannot see what it contains.

What is expected?

that i can see the Maps content by inspecting the map using the vue-devtools

What is actually happening?

Its only displayed that the data is from type Map, but you cannot interact with it, you cannot inspect its content


Reproducable with vue version 2.5.17 in latest nuxt version

@awacode21
Copy link
Author

map-inspect

@Akryum Akryum added bug need team repro We acknowledged your report and will soon try to reproduce it priority: low labels Sep 9, 2018
@awacode21
Copy link
Author

Anything new on this?

@Akryum
Copy link
Member

Akryum commented Mar 20, 2019

Could you post the reproduction again? The links in the OP are dead. Anyway I can't reproduce it on the dev app:

Screenshot from 2019-03-20 17-18-52

@Akryum Akryum added need repro and removed bug need team repro We acknowledged your report and will soon try to reproduce it labels Mar 20, 2019
@awacode21
Copy link
Author

@Akryum thank you for your reply. I restored the example links.
I still only see myMap: Map in the vue-devtools but maybe i'm handling the map wrong?

Bildschirmfoto 2019-03-21 um 13 58 22

@Akryum
Copy link
Member

Akryum commented Mar 23, 2019

I guess it's happening because you are using a polyfilled Map which is then technically not the same as the native Map and causes myMap instanceof Map to return false.

@Akryum Akryum closed this as completed in de13143 Mar 23, 2019
@awacode21
Copy link
Author

Thank you

simsim0709 pushed a commit to simsim0709/vue-devtools that referenced this issue May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants