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.

Text elements containing only numbers are always rendered top left

See original GitHub issue

When I create a text element and have only numbers in it, it will be rendered in the top left corner. As soon as there is a character in the text it is rendered as expected.

String/Character

Figma image Vue.js Rendering image

Number Only

Figma image Vue.js Rendering image

Code:

<template>
  <Figma :figma="figmaConfig"></Figma>
</template>

<script>
export default {
  name: 'FigmaLowCodeTest',
  data: function () {
    return {
      figmaConfig: {
        figmaFile: '<fileId>',
        figmaAccessKey: '<key>'
      }
    }
  }
}
</script>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
KlausSchaeferscommented, Oct 6, 2020

Ah, ok. Thanks for the investigation! I will fix that in the next release!

0reactions
xetra11commented, Oct 6, 2020

works thx!

Read more comments on GitHub >

github_iconTop Results From Across the Web

left - CSS: Cascading Style Sheets - MDN Web Docs
The left CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned ...
Read more >
4 reasons your z-index isn't working (and how to fix it)
It seems simple at first- a higher z-index number means the element will be on top of elements with lower z-index numbers.
Read more >
Content Jumping (and How To Avoid It)
Fixing with min-height​​ To fix it, I used the browser's DevTools to measure the height of the resulting content and hardcoded it as...
Read more >
css - Fixed position but relative to container
Long answer: The problem with using "fixed" positioning is that it takes the element out of flow. thus it can't be re-positioned relative...
Read more >
Tables in HTML documents
The COLGROUP element; The COL element; Calculating the number of columns in a ... The TABLE element contains all other elements that specify...
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