Problem with mi ion modal and my carousel


I have a problem with my ion modal when y scroll the ion modal the container of my icons that is a simple div with icons and css moves when y scroll the ion model
Bug Problem with ion modal - YouTube

.container__filter__types {
display: flex;
flex-wrap: nowrap;
overflow-x: scroll;
width: 100%;
height: auto;
padding: 5px;
-ms-overflow-style: none; /* IE and Edge /
scrollbar-width: none; /
Firefox */

.container__filter__types ion-icon {
border-radius: 50%;
width: 21.3px;
height: 25px;
padding: 12.5px;
flex: 0 0 auto;
margin-right: 22.5px;

It would be easier to place these inside of a ion-grid with cols.