FramerInput
FramerInput copied to clipboard
.wrap method not preserving TextLayer design properties
When using the wrap method, the placeholder text layer discards the property used in the design tab and seems to revert to a default font size, and font weight.
Second that.
As a workaround you can add something like this in framer/style.css
input, textarea { font-family: "Comic Sans" !important; }
div[name="yourTextLayerName"] ~ input { font-weight: 700 !important; }
Adding the following line as line no. 188 in the Module ( input.coffee ) seems to work as well:
@_inputElement.style.fontFamily = layer.fontFamily