Skip to content
Discussion options

You must be logged in to vote

Ok, so I figure it out:

@LeaVerou 's workaround to avoid a element click just works on ...a elements

When using @DmitrySharabin workaround, I can use a specific class, and apply it to icon (great)

New codepen, here (see solution 2)

Unfortunately, I don't know javascript enought:

Would you recommend to adapt @LeaVerou workaround to have ability to add other elements, or classes?
Or is @DmitrySharabin workaround doing all good already?

By the way, I'm looking to have the editing effect just like in this demo, BUT using <i> elements from FontAwesome

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@DmitrySharabin
Comment options

@DmitrySharabin
Comment options

@GalinhaLX
Comment options

@DmitrySharabin
Comment options

@GalinhaLX
Comment options

Answer selected by GalinhaLX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants