In magento 22.214.171.124, I added configurable swatches for color attribute.
The swatches are displayed and the color of the product changes, when the swatches are accessed. But the swatches are not working properly, when it is selected after selecting any thumbnail image i.e. when I select a thumbnail image and then select a color in the swatch, the thumbnail image is displayed instead of the selected color product.
The swatches are working perfectly when no thumbnail image selected in between.
What should be done to fix this issue?