Dark screen when phone is facing the sun

when i use my phone (filming with camera or using gps with Magic Earth) in front of the sun the screen switches off or turns black… When filming if I move the phone in an other direction it switches on. The screen is in adaptive brightness mode. Does anyone has the same issue ?
I have a A524G with e/OS 1.10-20230412279105-dev-a52q.

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone