AhsanAyaz / ngx-device-detector

An Angular v7+ library to detect the device, OS, and browser details.
https://ahsanayaz.github.io/ngx-device-detector
MIT License
517 stars 101 forks source link

always detected as mobile in inspect element #253

Open kian23kpt opened 2 years ago

kian23kpt commented 2 years ago

Describe the bug when use browser inspect element for developing, always shows mobile as detected device.

Expected behavior base on resizing windows width, show correct devices

Screenshots Screen Shot 2022-08-22 at 16 47 05

ccs1428 commented 1 year ago

@kian23kpt Did you found any solution for the above

kian23kpt commented 1 year ago

@ccs1428 I used HostListener trigger for window.resize. for more info see this link.