html - Poppup Modal Inside Fixed Position DIV appearing behind backdrop -


basically have fixed position <div> has summernote wysiwyg nested inside of it. problem when click "link" button in wysiwyg opens bootstrap modal appears behind black backdrop.

now reason <div> summernote sits inside has fixed position lower z-index backdrop. if increase z-index of <div> background goes away because entire <div> moved on top of backdrop.

likewise can't increase z-index of summernote poppup nested inside conatiner <div> , inherits z-index.

here quick fiddle: https://jsfiddle.net/cmvs32vl/1/

any ideas?

--- edit 7/14/205 2:19pm ---

so question is... there way modal appear in front of backdrop css? can't move modal without jquery , i'd rather not that. modal created dynamically summernote can't define it's position in dom.

here video explaining this: http://screencast.com/t/jz9o1rn7

i think problem didn't close out container div properly.

<div id="container">   <div id="modal">modal content</div>   <div id="bg"></div> </div> 

this should fix it.

edit: while question little wordy... understanding of problem trying move "modal" above everything?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -