Comments (11)
Thank you @izyumkin @jfpalacios
from mcemojipicker.
Same, for me it dismisses the picker immediately upon clicking it without being able to choose an emoji
from mcemojipicker.
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.
from mcemojipicker.
Hi @izyumkin,
It only happens for me when using it with a Binding
on ForEach
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.
The picker dismisses immediately without being able to select any other emoji
from mcemojipicker.
i solved my problem bc i adapted my code a bit. But there are a bunch of warnings and i think they are from the framework:
from mcemojipicker.
I will try to help you guys soon
![Screenshot 2023-07-25 at 20 44 25](https://private-user-images.githubusercontent.com/50948518/255986539-e6361806-dd02-49a8-a233-892a700a8bfa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYzOTg4ODMsIm5iZiI6MTcxNjM5ODU4MywicGF0aCI6Ii81MDk0ODUxOC8yNTU5ODY1MzktZTYzNjE4MDYtZGQwMi00OWE4LWEyMzMtODkyYTcwMGE4YmZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTIyVDE3MjMwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA3Y2IzMDhjYWI5MjEzY2ZlMGZmZDA1MzFjMDIwOWEzODZlYTZhMGY3ZDBiMWI5MGMxYjZjODY2NGU0YTgxYzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dQIP92GggTN_duY12gg-4N3MF8gPPtEME_JYC1AptNY)
Which beta do you work on? Maybe there is a proven stable one?
from mcemojipicker.
i am on beta 3. I think i update tomorrow
from mcemojipicker.
Still seems to be an issue on the latest betas
Xcode 15 Beta 5, iOS 17 Beta 4
from mcemojipicker.
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🙏
from mcemojipicker.
@ygee07 The bug you had was fixed by @jfpalacios
from mcemojipicker.
@Konstix08 please tell me you still have a lot of warnings? I tried to get a similar result, but it's not working yet
from mcemojipicker.
Related Issues (19)
- Rewrite the architecture to MVVM
- Memory leaks HOT 4
- Can this be used in macos apps too? HOT 2
- MCEmojiPickerRepresentableController dismisses other VCs HOT 1
- visionOS support HOT 3
- A collection with categories of emoticons at the bottom of the picker
- macOS Support HOT 6
- `selectedEmojiCategoryTintColor` not working in SwiftUI HOT 2
- Search HOT 4
- Implement the setup, calculations of the position and size of the picker, inside the module itself. To simplify the creation of a picker before the demonstration
- Categories items multiply on colorScheme change in SwiftUI.
- Automatic arrow direction HOT 1
- Presentation bug HOT 1
- Custom dark mode
- Emoji misclicks
- Add the ability to customize the picker
- Add a section header binding to the upper border of the collection, as in the original version on Mac
- SkinTonePickerView HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcemojipicker.