Questions tagged [modal-view]

62 questions
0
votes
1 answer

react-native modal view not showing up in debug mode

i developed a custom modal picker for my android app, which is working fine except one important thing: it is simply not working at all when i am in debug mode. i just don't get it how that can be if everything is working fine in production mode! i…
blendstylez
  • 341
  • 3
  • 16
0
votes
2 answers

Swift / SwiftUI : how to check if environment /binding var is an empty string (.isEmpty got building error)

I want to have a modal view whenever the avatar is pressed and selected. But when using the binding var, there is no way to know whether it is an empty string.. Codes below: struct SelectAvatarView: View { var role: String @State var…
0
votes
1 answer

Kivy - How to trigger ModalView from Python code

I want to force the start of a ModalView when the app is loaded, but i can not figure out how to do it. It's working fine when i push the button, but i cant figure out how to trigger the event from the python file. How can i from the code trigger…
thj001
  • 1
  • 3
0
votes
2 answers

I want to blurr the backgorund when modal is opened in react native

Suppose I have a modal in react-native view and whenever I open the modal I want to blurr or change color of background view just focused on modal only. Thanks in advance
Bhupesh Kumar
  • 240
  • 2
  • 14
0
votes
1 answer

modal view showing up empty in IOS 14

Updating a project to swiftUI 2.0 on iOS 14 and presenting a modal view seems broken. The modal view appears empty. Here is the code I use and the example project I created to illustrate this : https://github.com/Esowes/testModal The ContentView…
Esowes
  • 287
  • 2
  • 13
0
votes
1 answer

How to handle (or avoid) 'An NSManagedObjectContext's retain policy cannot be changed...' when editing TextView in modal view

The iOS app I'm building iterates through a list of PhraseGroup objects defined in Core Data and displays the extraText contents associated with each PhraseGroup. This shows how PhraseGroup is defined: extension PhraseGroup { @nonobjc public class…
0
votes
2 answers

Let ModalView fit all its contents widgets (kivy)

What's the proper way to add a set of widgets into a ModalView in kivy so that the modal window fits all of its contents dynamically (without setting the height to a hard-coded pixel size)? I have the following example script: #!/usr/bin/env…
Michael Altfield
  • 2,083
  • 23
  • 39
0
votes
1 answer

Doing a ModalView subclass in Kivy messes up position of view and children

I have a very simplistic case of a window with a single button. With a button release I want to pop up a modal view with some text on it. In every button release I create and open an instance of ModalView and it works: from kivy.app import App from…
Alreiber
  • 19
  • 4
0
votes
1 answer

Modal view not showing on device

I am using modal views in my iphone application. The problem is that the views are working on the simulator but when I am installing it on the device, instead of the modal views,instead it shows a white blank screen . Anyone encountered this problem…
HG's
  • 818
  • 6
  • 22
0
votes
2 answers

What is the proper way to access navbar buttons of a modal view?

I created a view in IB with a navbar and a table. On the navbar I put two buttons, cancel and done. I use this view like a modal view with: [self presentModalViewController:controller animated:YES]; My problem is when I…
Sefran2
  • 3,578
  • 13
  • 71
  • 106
0
votes
1 answer

Jquery modal view problem

I have model view that contains some form. When I submit form it calls ajax function and gets some data from database with php.It does not make refresh.It works normal but if I close modal and open second time when i submit request it calls ajax…
Ercan
  • 2,699
  • 10
  • 53
  • 60
0
votes
1 answer

How to dynamically update markup text in kivy modalview

I am trying to update a label field dynamically from the contents of a TextInput in a ModalView. The idea is that in the TextInput one enters plain text including markup formatting and you will see the results directly in the Label field with markup…
Bill Bridge
  • 821
  • 1
  • 9
  • 30
0
votes
2 answers

Jquery .append() problem with modal view

I created simple modal view photo gallery that gets picture where user clicked and shows it in modal view.It works but problem if user clicked 2 or 5 times while model view opens then it shows 2 or 5 the same images in modal view. I used like…
Ercan
  • 2,699
  • 10
  • 53
  • 60
0
votes
0 answers

JavaScript: getElementById not working on image in Google Maps infoView

I'm trying to add a modal view for every picture in every Google Maps marker that is placed on the map. This is the JS code: // Get the modal var modal = document.getElementById('myModal'); // Get the image and insert it inside the…
Vincent
  • 1,645
  • 3
  • 14
  • 22
0
votes
2 answers

Jquery scrollLeft calling problem in modal view

I have modal and I want to insert in modal view some scrollable text .BUt scrollLeft not work in modal view but works if I put it on main page, not in modal view.
Ercan
  • 2,699
  • 10
  • 53
  • 60