-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
NavigationView creates a black view to appear when using a textfield #43
Comments
Hey @Nathan1258, The problem should be solved in the "patch-1.1.1" branch. Could you please check it and let me know? Thanks! |
Hi @FulcrumOne, I can confirm the problem has been solved - thank you for being so speedy! Nice to see my UI when entering text 🤣 Will return to stable branch now and wait for patch-1.1.1 to be merged! |
Hello @FulcrumOne , I have same problem, and up to date. |
@clbemre, PS. Could you paste here the code I can use to reproduce it? Thanks a million! |
@FulcrumOne Hey thank you, I noticed that also, drag gesture conflicts with scrollview and causes an wrong behavior. Additionally maybe you can add view.navigationBackGesture(.dragEdges) 😀 |
There is such an option, I don't remember how it's called exactly but one of NavigationGlobalConfig 😉 |
@FulcrumOne |
In a file "Public+NavigationGlobalConfig", there should be three attributes - backGesturePosition (the one that you're looking for), backGestureThreshold and backgroundColour. Could you confirm that in the version you use, all three attributes exist? |
@FulcrumOne |
Do you think it would be better to add this option to every screen? |
No but I just want to override . And my main problem is not this. My problem in video :) |
yeah, tomorrow or Saturday I'm returning to this library 😅 |
Hello, @clbemre Also the issue with the offset for horizontal drag-gesture action has been resolved in the branch |
@jay-jay-lama Hello, my code like this in short.
also
|
@clbemre, both problems should be resolved in the newest version |
fix: - Fixed a problem with text fields (#43)
@FulcrumOne Thank you! |
@FulcrumOne It has solved. But just there is a little problem. |
Oh, could you describe it, because I'm clearly blind and can't notice it 😅 |
@FulcrumOne when it first opens on each screen there is a flicker for the first time when trying to scroll and then it works fine without flickering 😀 |
Oh, yeah, you're right. I'll check it, thanks |
@FulcrumOne I have tested without NavigationView plugin this page. When I remove the navigationview plugin from the page, I do not encounter this problem. |
@FulcrumOne It seems that I've noticed the same problem if I use native solution without our library. On the video the same problem with native solution. RPReplay_Final1720958682.mov |
I unserstood. But i told you , When I remove the navigationview plugin from the page, I do not encounter this problem. :) |
removed video. |
@FulcrumOne hey there is also a very little problem :) removed video with background
|
removed video.
|
@clbemre, this is actually tricky one and I doubt I will be able to "fix it" - background color cannot be clear, otherwise you always see the view underneath. It's because the animation of the views involves modifying their offset (or scale / rotation). If you really need to make the safe areas clear, I strongly recommend using .ignoresSafeArea modifier 😉 |
@FulcrumOne I set the background color. Actually, I don't have a problem with this, I just said it so you know :) I use .ignoresSafeArea when necessary. But I don't understand where you mean I should use it :) |
Oh, I just thought about an use-case like putting a picture that is supposed to be behind a status bar / home indicator and someone may think that it can be resolved with clear background (someone actually asked me exactly this). So if it's not your question just please ignore it 😅 That previous problem I'll try to resolve later today. Thanks for reporting! |
@FulcrumOne Hey, hello again. How are you? also it's block my keyboard toolbarview visibility. Screen.Recording.2024-07-22.at.21.26.50.mov |
hello again, @clbemre 😉 does this behaviour only occur with maps (and scrolling views partially)? |
@FulcrumOne Hello again. I have using this framework. https://github.com/ciaranrobrien/SwiftUIPageView but I got confilict with back gestures. Screen.Recording.2024-07-28.at.16.59.33.mov |
My code like that; (i will delete later, sorry @FulcrumOne )
|
@FulcrumOne Hello, Did you check it? |
hey @clbemre, I've saved the code (so you can delete it), but currently I'm working on PopupView. Sorry, will return to this issue as soon as I finish the sprint for that library 😉 P.S. Soon the tasks should be done a bit faster, as we have expanded our team a bit 😉 |
Btw, if you use Discord, you can join our here: https://discord.com/invite/dT5V7nm5SC It's not ready yet, but at least we could communicate more effectively with PMs 😅 |
@FulcrumOne thank you, I don't have Discord now :) okey I'll be waiting. It is important to solve the problem but there is no rush. 😀 Best regards. |
@FulcrumOne |
@FulcrumOne Hello, I'm still waiting for this topic. 👀 :) |
Hey @clbemre, Are you sure it doesn't work? I just tried and here's the effect: P.S. Sorry for not responding, but I'm busy with other libraries currently, and the next time window for this one will be mid-September ;) |
@FulcrumOne I have tried a few thinsg but I wasn't successful.
Global config
View Config
|
@FulcrumOne Hello again, I'm still waiting to hear back from you. |
Hey @FulcrumOne When will you get back to me? We had suspended the project but we've brought it back to the agenda, I don't have much time to wait. (or I will have to change the navigation library.) |
Hey @clbemre, Unfortunately I'm busy with PopupView till the end of this month. The next on my list is CameraView, so I would advise you to change the library. Sorry and have a nice day, |
You said this before. But it's been so long. thank you. have a nice day. |
Hello @FulcrumOne I found the source of the problem but I need your help to solve it. When I delete the code .padding(.bottom, getPadding(.bottom, item)) in this method, the up and down shaking in the video does not happen anymore, but deleting the code is not a solution, it may break something else.
I tried it but I'm not sure. Maybe it can help you. OLD:
SOLUTION(im not sure):
Best Regards |
As shown:
ScreenRecording_07-01-2024.22-30-42_1.MP4
Clicking on a textfield will cause a black (or the colour you set
config.backgroundColour
as within theNavigationGlobalConfig
) to appear and fill the entire view.The text was updated successfully, but these errors were encountered: