Neither Icon nor IconButton shows up on screen

I want to use an IconButton component but it just doesn't work, it doesn't appear on the screen.. I can see the html tag and the image in the chrome inspector but the component is not showing up on the screen

{ kind: IconButton, style: "position: absolute; right:85%; bottom:1%;", small: true, src: '@../../assets/settings.svg'<del></del> }

Comments

  • So you've already verified that the browser is correctly fetching the image but is isn't being rendered on the screen? Could check that it is in the viewport, that all of its DOM ancestors are visible, that it's not being hidden because of overflow: hidden on an ancestor, or that it isn't hidden by another element with a higher z-index value.

    Hard to say beyond that without a reproduction case.
Sign In or Register to comment.