-
-
Notifications
You must be signed in to change notification settings - Fork 537
Closed
Description
Hello,
This tooltip works great, and I love it, I have it working to shade in countries meeting a criteria, but I get the following issue when the page loads, and sometimes the tooltip losing as its styling; this is the bit of the error that seems relevant.
How can I resolve this console error?
index.js:1 Warning: Prop `dangerouslySetInnerHTML` did not match. Server: "\n \t.t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33 {\n\t color: #fff;\n\t background: #222;\n\t border: 1px solid transparent;\n \t}\n\n \t.t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-top {\n margin-top: -10px;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-top::before {\n border-top: 8px solid transparent;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-top::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n bottom: -6px;\n left: 50%;\n margin-left: -8px;\n border-top-color: #222;\n border-top-style: solid;\n border-top-width: 6px;\n }\n\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-bottom {\n margin-top: 10px;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-bottom::before {\n border-bottom: 8px solid transparent;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-bottom::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n top: -6px;\n left: 50%;\n margin-left: -8px;\n border-bottom-color: #222;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n }\n\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-left {\n margin-left: -10px;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-left::before {\n border-left: 8px solid transparent;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-left::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n right: -6px;\n top: 50%;\n margin-top: -4px;\n border-left-color: #222;\n border-left-style: solid;\n border-left-width: 6px;\n }\n\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-right {\n margin-left: 10px;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-right::before {\n border-right: 8px solid transparent;\n }\n .t51fe1a30-9bf2-44ad-a27d-331c9a5e9a33.place-right::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n left: -6px;\n top: 50%;\n margin-top: -4px;\n border-right-color: #222;\n border-right-style: solid;\n border-right-width: 6px;\n }\n " Client: "\n \t.t6d4140a3-b207-4e70-8cca-53761fb541be {\n\t color: #fff;\n\t background: #222;\n\t border: 1px solid transparent;\n \t}\n\n \t.t6d4140a3-b207-4e70-8cca-53761fb541be.place-top {\n margin-top: -10px;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-top::before {\n border-top: 8px solid transparent;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-top::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n bottom: -6px;\n left: 50%;\n margin-left: -8px;\n border-top-color: #222;\n border-top-style: solid;\n border-top-width: 6px;\n }\n\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-bottom {\n margin-top: 10px;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-bottom::before {\n border-bottom: 8px solid transparent;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-bottom::after {\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n top: -6px;\n left: 50%;\n margin-left: -8px;\n border-bottom-color: #222;\n border-bottom-style: solid;\n border-bottom-width: 6px;\n }\n\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-left {\n margin-left: -10px;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-left::before {\n border-left: 8px solid transparent;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-left::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n right: -6px;\n top: 50%;\n margin-top: -4px;\n border-left-color: #222;\n border-left-style: solid;\n border-left-width: 6px;\n }\n\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-right {\n margin-left: 10px;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-right::before {\n border-right: 8px solid transparent;\n }\n .t6d4140a3-b207-4e70-8cca-53761fb541be.place-right::after {\n border-top: 5px solid transparent;\n border-bottom: 5px solid transparent;\n left: -6px;\n top: 50%;\n margin-top: -4px;\n border-right-color: #222;\n border-right-style: solid;\n border-right-width: 6px;\n }\n "
in style (created by ReactTooltip)
in div (created by ReactTooltip)
Metadata
Metadata
Assignees
Labels
No labels