When I was using the "pure" select2 the "dropdownParent" option was usually implemented using something like this " { dropdownParent: $(this.refs.someParentDiv) } ". Now that need to use "react-select2-wrapper" this seems not working in the "Select2" component avaiable int your select2-wrapper. I would like to know if I'm doing something wrong or if it's some bug. I really need to fix this because I'm using the select2 inside a modal from bootstrap and it keeps "locking" the scroll because i can't set properly the "dropdownParent".
When I was using the "pure" select2 the "dropdownParent" option was usually implemented using something like this " { dropdownParent: $(this.refs.someParentDiv) } ". Now that need to use "react-select2-wrapper" this seems not working in the "Select2" component avaiable int your select2-wrapper. I would like to know if I'm doing something wrong or if it's some bug. I really need to fix this because I'm using the select2 inside a modal from bootstrap and it keeps "locking" the scroll because i can't set properly the "dropdownParent".