Skip to content

_domRef Not working with Fibre  #552

@shial4

Description

@shial4

Describe the bug
Fatal error: Unexpectedly found nil while unwrapping an Optional value
._domRef($state.observedNodeRef) doesn't work when using fibre.

To Reproduce

  • Tested with TokamakDOM fibre 2 fixes
private let ResizeObserver = JSObject.global.ResizeObserver.function!

let observerRef = ResizeObserver.new(closure)
_ = observerRef.observe!(state.observedNodeRef!)

Expected behavior
Rect has the size of the content.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions