question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error messages lead to stuck/unchanging pop-up in Inspect view

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
orangemugcommented, Jan 29, 2020

@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 🤞

1reaction
orangemugcommented, Jan 28, 2020

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found