React warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.

Description

Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>. in div (created by Tag) in AnimateChild (created by Animate) in Animate (created by Tag) in Tag (created by ConcurrentModal) in p (created by ConcurrentModal) in div (created by Card) in div (created by Card) in Card (created by ConcurrentModal) in div (created by ModalBody) in ModalBody (created by ConcurrentModal) in div (created by Modal) in div (created by Modal) in div (created by Modal)

This appears to come from the use of antd's <Tag> element inside <p> in the file server/zanata-frontend/src/app/editor/components/ConcurrentModal/index.js

Can we change the <p> to something else?

Environment

None

Activity

Show:

Former user 16 July 2018 at 00:22

Done

Details

Assignee

Reporter

Tested Version/s

Priority

More fields

Created 10 July 2018 at 07:09
Updated 16 July 2018 at 00:22
Resolved 16 July 2018 at 00:22

Flag notifications