ApplebaumIan/SwiftUI-Apple-Watch-Decimal-Pad

Not responding to modifiers

ermanitu opened this issue · 0 comments

I'm using your fantastic DigiTextView to entering numbers in a Watch App, but I can't capture any event. I tried:

      .onTapGesture {
            print("tap")
        }
        .onChange(of: presentingModal) {
            if presentingModal {
                value = ""
            }
        }
        .onDisappear {
            update()
        }
        .onSubmit {
            update()
        }

Any of them works. I need capture the closing window to update some others values in the app, and I need too clear the text when enter to edit.

Changing properties of Text d'ont also work:

.font(.title2)

Not change the font.

It's possible to include this possibilities in some future versions.