Unexpected margin and padding on bootstrap modal show with sticky-top class

When I open a bootstrap modal, I get unexpected side padding or side margin on some html tags. One example: Before showing the modal:

Bootstrap React Modal Component not working dynamically

I am using React Bootstrap, I am using map function of javascript to loop through admins, when i loop through them all values outside the modal display the correct values from the admins array, but …