Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not responding to modifiers #10

Open
ermanitu opened this issue Sep 24, 2023 · 0 comments
Open

Not responding to modifiers #10

ermanitu opened this issue Sep 24, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@ermanitu
Copy link

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.

@ApplebaumIan ApplebaumIan added the good first issue Good for newcomers label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants