Hi, there is weird behaviour, possibly a bug, in O...
# compose-ios
d
Hi, there is weird behaviour, possibly a bug, in OutputTransformation of a TextField. If I pass the outputTransformation like so, all is good:
Copy code
outputTransformation = {  }
But if I pass it as a class, on iOS the keyboard starts violently closing and opening (see attached video).
Copy code
outputTransformation = TestOutputTransformation()

class TestOutputTransformation(): OutputTransformation {
    override fun TextFieldBuffer.transformOutput() {

    }
}
As a workaround, I can run it like this:
Copy code
outputTransformation = { TestOutputTransformation().run { transformOutput() } }
a
Hello! This shouldn't be happening. Could you please make a short code sample that reproduces the problem and file an issue in our YouTrack?
👍 1