Error messages lead to stuck/unchanging pop-up in Inspect view
See original GitHub issueI just upgraded to the latest Maputnik (from 1.4, I think). Since the upgrade, I get a stream of errors in my browser console after enabling Inspect view and mousing over the map. Here’s an example:
react-dom.development.js:558 Warning: Encountered two children with the same key, `transportation_name-undefined`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
in div (created by FeaturePropertyPopup)
in FeaturePropertyPopup
warningWithoutStack @ react-dom.development.js:558
I get a lot of these errors mentioning several of my map data layers. After mousing around briefly, the same handful of features is displayed in the Inspect pop-up no matter where I go on the map.
Anyone know how to fix this?
In case it’s relevant, I also get this error once:
Warning: Failed prop type: Invalid prop `value` of type `boolean` supplied to `StringInput`, expected `string`.
in StringInput (created by FeaturePropertyPopup)
in FeaturePropertyPopup
printWarning | @ | checkPropTypes.js:20
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (11 by maintainers)
Top Results From Across the Web
How can I display error messages on a popup?
To show error message popups , better to go with Java script.. check the below example., function deleteConfirm(msg) { var confDel = msg;...
Read more >Remove unwanted ads, pop-ups & malware - Computer
Before you reset your browser settings on a Windows or Mac, check your computer for unwanted programs. Remove malware from your computer (Windows)....
Read more >How to change hard error popup handling in Windows
This article describes how to change the hard error popup mode and give example code.
Read more >My Popup Won't Work - How Can I Fix It?
Check #1 -- Inspect the Popup Publication Status and Targeting ... Users must be logged in as a site Admin to view and...
Read more >Capturing popup messages - Studio
Said that you may create a dynamic selector. You will need to examine all the error messages for common parameters, keep the common...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kateler hopefully the fix in #610 solves your issue (please test and let us know), you also might want to add IDs to the vector tile features (if they are yours) as it seems to be the norm and might causes issues in other tools to plan to use. There hopefully shouldn’t be an issue using Maputnik from now on though 🤞
@kateler thanks for the test case, I can reproduce this issue with the version at https://maputnik.github.io/editor/#9.85/51.4922/719.8773, however the link @pathmapper provided https://2155-67726921-gh.circle-artifacts.com/0/artifacts/build/index.html#9.85/51.4922/719.8773 seems to function correctly, can you please confirm?