So as the title describes, I've developed a responsive web app using React framework with several @media queries; When I resize the page with the Device Mode of Developer Tools, queries work absolutely fine and everything behave as they should, but when I resize the actual browser window, media queries don't work. I even tried changing screen resolution and the issue still was there.
These are my @media queries :
@media only screen and (max-device-width: 768px) {...}
@media only screen and (max-device-width: 768px) and (min-device-width: 691px) {...}
@media only screen and (max-device-width: 768px) and (min-device-width: 576px) {...}
@media only screen and (max-device-width: 939px) and (min-device-width: 769px) {...}
@media only screen and (min-device-width: 940px) {...}
@media only screen and (min-device-width: 1024px) {...}
@media only screen and (min-device-width: 1200px) {...}
@media only screen and (min-device-width: 1510px) {...}
It may seem a little bit messy but because of some situations I had to mix the min and max criteria, and it works on Device Mode totally fine.
And the HTML viewport meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
I also tried changing or removing viewport meta tag but still no chance.
What could be the problem ?!