Skip to content

DisconnectHandler is never called  #3604

@pictos

Description

@pictos

Description

I created a Custom Control that inherits from ElementHandler and at the moment that the control is closed the DisconnectHandler method isn't called, even if I set the VirtualView.Handler to null.

Steps to Reproduce

  1. Add breakpoints here
  2. Start the sample app
  3. Scroll to the bottom and press the button
  4. See the popup
  5. Click outside the popup to close it
  6. The DisconnectHandler isn't called

Version with bug

Preview 10 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

legacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editorplatform/androids/needs-attentionIssue has more information and needs another looks/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions