kaivi / ReactInlineEdit

Simple React component for in-place text editing and validation
MIT License
170 stars 90 forks source link

Add stopPropagation option #12

Closed dkwingsmt closed 8 years ago

dkwingsmt commented 8 years ago

This happens in my project that an InlineEdit is embedded in another DOM object that also responds to onClick events (technically, embedded in the title of a collapsible panel), and it is not desirable that clicking InlineEdit triggers the event of the container.

By adding this option, users can choose to stop the onClick event from further propagating.