Skip to main content

I’m working on a ‘to-do list’ feature, and we use the strikethrough styling on the ‘done’ state variants of our ‘to-do item’ component. The problem is, that figma treats it as a persistent override. I want the strikethrough to appear/disappear when the task is marked done/undone. But it persists when the states are being toggled. 

 

To-do type apps are super common, does anyone have a workaround? I dont see anyone talking about this problem in the forum, so I don’t know if the Figma team is aware of this.

 

For our prototype, we ended up  manually creating a strike line with an absolute-positioned line object. Obviously this hack isnt responsive and cannot be used for our ‘real’ library component. It also doesnt account for multiple lines of text.

Be the first to reply!

Reply