67
Views
2
Comments
[OfflineDetection] cannot read property 'classList' of null
Question
offlinedetection
Mobile icon
Forge asset by darwinLabs Dev Team

I tried to add this component to the bottomBar of an application. When I go to a menu and I switch screen, I get the error "Cannot read property 'classList' of null TypeError: Cannot read property 'classList' of null".

Any ideas on this? =)



2022-02-18 15-32-27
João Almeida
Champion

gbarbosa wrote:

I tried to add this component to the bottomBar of an application. When I go to a menu and I switch screen, I get the error "Cannot read property 'classList' of null TypeError: Cannot read property 'classList' of null".

Any ideas on this? =)



 Hi!, not really. Let me try to replicate that.

 

2022-08-25 15-33-28
Tomás Silva Rocha

Hi,

In our tests we tried to replicate the same scenario but got no errors. Nevertheless we have just released a new version of OfflineDetection with some updates.

Please note that this component's logic has been migrated to OfflineDetection Reactive, to allow it being used also by Reactive Web Apps, and it's likely to be discontinued in the future. For now is being kept for legacy and maintainability issues, but is strongly advised to switch to the new implementation. 

Therefore, when updating the version, please consider replacing the dependencies altogether.


Kind regards,

Tomás

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.