Topic: Several components having issues inside \\\\\\\'onPush\\\\\\\' changeDetectionStrategy

fonzzz pro asked 6 years ago


Hello,I noticed issues in tabs, select, check and radio buttons when the changeDetectionStrategy of the element using it was set to onpush.Could you confirm you are aware of this. Is this planned to be fixed? ( I saw several topics here where this turned out to be the issue, so you should be aware)

Arkadiusz Idzikowski staff answered 6 years ago


Dear fonzzz, Thanks for those informations. We are aware that these problem exist, but every detail will be helpful. We will try to fix that in near future but i can't give you an ETA. Best, Arek

fonzzz pro answered 6 years ago


I'm not near my code right now, but I observed these things: tabs: need to click them twice before there is a tab switch when the parent element has onpush. radio/ check: they display 'success' in green after a state change when the parent element has onpush ( I was able to resolve both issues by removing onpush from the parent component). Select: needs to be clicked twice, overlay does not close on selection. -> this could be related to usage inside a modal, but I believe I was able to improve it by explicitly specifying ChangeDetectionStrategy to default for the modal. I thought this was known because I did find the 'remove onPush' 'solution' on this forum.  

fonzzz pro commented 6 years ago

PS: I thought the issue was a known issue. If you are not aware, I do apologize for the cryptic description. I can easily recheck this and post a more detailed description later this week.

Arkadiusz Idzikowski staff answered 6 years ago


Dear fonzzz, Could you describe what are the exact problems with those components? Best, Arek

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags