0

enter image description hereenter image description hereI am using react-modal in my code. Please find below its style,

const customStyles = {
    content : {
      top                   : '37%',
      left                  : '50%',
      right                 : 'auto',
      bottom                : 'auto',
      marginRight           : '-50%',
      transform             : 'translate(-50%, -50%)',
      maxWidth              : '40%'
    }
  };

When I click any row from my grid, modal pops up. But the issue is, when I click row, row gets highlighted and it shows up in front of modal. I do not want highlighted row or grid to distract Modal view.

How can I achieve this?

Thanks

Mangesh Tak
  • 346
  • 1
  • 6
  • 22

0 Answers0