-
Notifications
You must be signed in to change notification settings - Fork 27
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
Weird behaviour in ios 17 #18
Comments
Same, for me it dismisses the picker immediately upon clicking it without being able to choose an emoji |
I don't have the ability to debug the library for iOS 17 yet. But I think in the near future to install the Xcode beta and check what's new there. If possible, describe your problems in more detail, along with screenshots, I will be grateful. And if you have any ideas how to fix these problems, I will be glad to see your pull requests. |
Hi @izyumkin, It only happens for me when using it with a import SwiftUI
import MCEmojiPicker
struct ContentView: View {
@State var emojis = ["😀", "😁", "😇"]
var body: some View {
VStack {
ForEach($emojis, id: \.self) { $emoji in
EmojiPicker(selection: $emoji)
}
}
}
}
struct EmojiPicker: View {
@Binding var selection: String
@State private var isPresented: Bool = false
var body: some View {
Button(selection) {
isPresented.toggle()
}
.padding()
.emojiPicker(
isPresented: $isPresented,
selectedEmoji: $selection
)
}
} Then it behaves like this. |
i am on beta 3. I think i update tomorrow |
Still seems to be an issue on the latest betas |
Sorry guys, I have a lot of work on my main job right now. I will try to fix everything by the end of next week🙏 |
@ygee07 The bug you had was fixed by @jfpalacios |
@Konstix08 please tell me you still have a lot of warnings? I tried to get a similar result, but it's not working yet |
Thank you @izyumkin @jfpalacios |
I have the emoji picker implemented in an ios 17 app and the emojipicker behaves weird. Sometimes it wont show up, sometimes it is just empty, sometimes it is placed random anywhere on the screen.
I can provide images later. But when you try you can see it yourself.
The text was updated successfully, but these errors were encountered: