Skip to content

Not responding to modifiers #10

@ermanitu

Description

@ermanitu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions