-
-
Notifications
You must be signed in to change notification settings - Fork 8
Added OnNewTag, allows to react to Return key in TagTextField, fixed fatal problem with landscape mode #1
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
Conversation
|
Hi @Vithanco Thank you for the PR. To help me understand, why is the geometry reader thing needed? What are the problems in landscape? Please clarify, since I don't want to use GeometryReader unless explicitly needed. In the tag list, the idea is that you can add everything you need to the view builder, so adding an additional action parameter should not be necessary. The text field also should not need the action parameter, since you can just add the |
|
you are absolutely right, Daniel! I guess the way how you can use SwiftUI are still not internalised on my side. I removed tap gesture and on submit. Thanks! I am not a fan of geometry reader neither. But please notice that I didn't introduce it, I only refactored your code. The problem that your code has is that it lead to a program abortion, and the updated version seems to work (and hopefully is better to read). |
|
this fixes issue generated here #4 edit: |
|
Sorry for completely dropping the ball on this @Vithanco! If this solves the problem with Swift 6, I will give it a try, then merge it and re-enable Swift 6 👍 |
sorry i used his repo directly which didnt have swift 6 so maybe thats why it worked. Ill check his commit with swift 6 and let you know! |
Thank you! |
this pr doesnt fix that error. But your latest 0.4.1 with swift 5.9 builds fine! |
6c96b83 to
b559c4a
Compare
|
Hi @Vithanco I have updated the library for Swift 6, and simplified many views. Does this still happen? |
# Conflicts: # Sources/TagKit/Views/TagList.swift
|
@Vithanco I am currently swamped with work, but it would be great to look at this when Xcode 26 arrives in a few weeks. |
6551967 to
33ce7db
Compare
|
@Vithanco Do you think that this is still needed? |
|
I think it’s ok without.
Thanks for double checking
/Klaus
…--
Vithanco / Klaus Kneupner
See for yourself how you can combine your brain power with structured visuals to help you think: https://vithanco.com/newsletter.
The home of Structured Visual Thinking: www.vithanco.com <http://www.vithanco.com>.
10 Dec 2025 at 15:01 by ***@***.***:
danielsaidi> left a comment > (danielsaidi/TagKit#1) <#1 (comment)>
@Vithanco <https://github.com/Vithanco>> Do you think that this is still needed?
—
Reply to this email directly, > view it on GitHub <#1 (comment)>> , or > unsubscribe <https://github.com/notifications/unsubscribe-auth/ABFFOMDAAQX67YUW26YSE4L4BARSXAVCNFSM6AAAAABHS7A7NKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMMZXGIZDSNZVHE>> .
You are receiving this because you were mentioned.> Message ID: > <danielsaidi/TagKit/pull/1/c3637229759> @> github> .> com>
|
|
Perfect, closing this then 👍 |
Added possibility to trigger action when tapped on tag.
Fixed an issue with geometry reader in landscape mode.