Component Parameters "Uh oh"

Hello,

I have a repeatable crash when adding parameters to a component, here’s the video:

And here’s the JS console output

Two things to consider in the video:

  1. In Safari, when I drag an element onto a page, it ALWAYS adds itself above the target, rather than where the crosshatch is placed.
  2. Somehow this parameter text crashes the component and causes the “Uh oh”

{
“text” : “text-editor|Replace me”,
“textColor” :
{
“label” : “Colours”,
“type” : “color-pair”,
“initial” :
{
“base” : “#0b0b0b”,
“alt” : “#0b0b0b
}
},
“fontWeight” :
{
“label” : “Weight”,
“type” : “font-weight”,
“initial” : “inherit”
}
}

Many thanks, I will experiment to try and find the cause. Bill.

Aha.

You can’t have the font weight alone, you need to have the font family before it like this:

{
“fontFamily” : {
“label” : “Family”,
“type” : “font-family”,
“initial” : “inherit”
},
“fontWeight” : {
“label” : “Weight”,
“type” : “font-weight”,
“initial” : “inherit”
}
}

That still doesn’t solve why when I drag an element, it ignores the place I drop it, and jumps up one element.

Hello Bill,

Thanks for writing in! It’s good to know that you figured out the Parameters for Font. As for the dragging, I believe that it may be a bug. We will forward this issue to our developers.

Best Regards.

forwarded to @Charlie

I’ll fix the issue where you need a font family to use the font weight parameter.
And I appreciate you bringing up the drag and drop issues, they definitely need some fine tuning and will probably get a glance this week. Have a great day!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.