modal-dialog Questions

3

When using a <dialog> element with .show() it is positioned according to normal position etc. CSS properties. Is it possible to have that same positioning with .showModal()? Even when using d...
Cankerworm asked 2/10, 2022 at 10:56

4

Solved

I'm using a react-native Modal, which contains a View. The View has some TextInput elements. When the keyboard pops up, the View elements all collapse to fit into the remaining space, but I don't w...
Ozell asked 5/3, 2018 at 0:25

6

I've got an application where there's a main background form, from there user can only non-modal forms that maintains different part of the system. The non-modal forms overrides the CreateParams me...
Lengthways asked 21/1, 2009 at 1:10

4

I set daisyUI but not figure out how to control modal by condition I think similar with flowbite or bootstrap https://flowbite.com/docs/components/modal/ but daisyUI not implement hidden class yet,...

5

Solved

Is it possible to create/have a non-modal .net OpenFileDialog I have a UI element in the main dialog which always need to be available for the user to press.
Bricky asked 25/1, 2009 at 23:2

5

Solved

I wanted to create a Modal in NextJS 13.4 (with the new layout.tsx file system), But I couldn't. since this is a new thing I couldn't find a solution on the web either. Here are the things that I'v...
Bluegill asked 17/5, 2023 at 6:2

2

Solved

I'm trying to change the background color of a dialog element's backdrop using a custom CSS property but it won't take. Is this a bug in Chrome or is there a reason for this? document.querySele...
Bradshaw asked 12/11, 2019 at 12:1

14

Solved

I have created one GUI in which I have used a JFrame. How should I make it Modal?
Eudemonism asked 26/9, 2009 at 15:7

25

I have two button here that are being used to close the modal. The first is the close icon and the other one is cancel button, both use data-dismiss to close the modal. However, both of them are no...
Wagonlit asked 23/7, 2016 at 2:47

3

Solved

For a built-in dialog like QInputDialog, I've read that I can do this: text, ok = QtGui.QInputDialog.getText(self, 'Input Dialog', 'Enter your name:') How can I emulate this behavior using a dia...
Demagnetize asked 12/8, 2013 at 21:12

6

Solved

I am using Chakra UI and I want to use two modals in a single component. const { isOpen , onOpen, onClose } = useDisclosure() <Button colorScheme="teal" size="xs" mr='2' on...
Baleen asked 1/2, 2021 at 7:24

7

Solved

I'm using a modal to add names to a list. When the modal is shown, I want to focus the TextField automatically, like this: I've not found any suitable solutions yet. Is there anything implement...
Judejudea asked 9/10, 2019 at 19:29

12

I am trying to use a modal as a popup help window. I set backdrop to 'nothing'. When the modal is opened (without backdrop) input fields in 'original' page cannot be focused. Other input types (ch...
Omnibus asked 10/2, 2013 at 5:32

39

Solved

I am using the Twitter bootstrap Modal dialog. When I click on the submit button of the bootstrap modal dialog, it sends an AJAX request. My problem is that the modal-backdrop doesn't disappear. Th...
Cattycornered asked 17/7, 2012 at 9:28

12

I've got a html5 video element on a modal window. When I close the window the video continues to play. I'm a total newbie to JS. Is there an easy way to tie a video playback stop function to the wi...
Vivica asked 11/5, 2011 at 1:4

9

Solved

I'm using Bootstrap Modal. I declare it, I call it, I show it...everything seems to be ok. But what if I have an already existing modal previously shown with "keyboard" property to false and I wan...

4

I'm using dialog from angular material-2. The problem is: I can't disable auto focus when modal-dialog is opened in iPhone or tablet especially. In iOS, it automatically focuses the first input fi...
Rucksack asked 29/11, 2017 at 21:52

7

Solved

I used to use jQuery UI's dialog, and it had the open option, where you can specify some Javascript code to execute once the dialog is opened. I would have used that option to select the text withi...

22

i'm using the modal example from the bootstrap 3 docs. the modal works. however i need to access the show.bs.modal event when it fires. for now i'm just trying: $('#myModal').on('show.bs.modal', ...
Laclair asked 9/10, 2013 at 18:16

32

Solved

So I'm having nearly the exact same problem as @Jamescoo was but I think that my issue is coming from the fact that I have already positioned a couple of DIVs to create a sliding nav panel. Here's...
Charmeuse asked 7/1, 2014 at 22:17

3

Solved

I'm not sure what you call this type of modal, but one that is trendy on iOS that doesn't quite make it full screen, maybe it's 10% margin from the top. Here's an image: Here's my standard Modal se...
Burd asked 16/10, 2019 at 3:32

30

Solved

I've copied and pasted the example code from twitter bootstrap to create a basic modal window in my Rails 3.2 app: <!-- Modal --> <div id="myModal" class="modal hide fade" tabindex="-1" r...
Curcuma asked 18/4, 2013 at 21:40

15

Solved

When I trigger a modal view in my page it triggers the scroll bar to disappear. It's an annoying effect because the background page starts moving when the modal moves in / disappears. Is there a cu...
Luncheon asked 31/7, 2014 at 22:44

8

Solved

I have a site and here is a link, When you click on textfield you can see the DatePicker working But iF you click on ImportFriend -> Add Manual Friend -> then if you click on birthday field t...
Phenomenon asked 29/8, 2013 at 20:1

4

Solved

I need to close my modal just by using css like this: http://jsfiddle.net/raving/1mhsynmw/ However, I can't get it to work. My modal below. function alert(msg) { document.getElementById("al...
Artificial asked 5/2, 2016 at 17:47

© 2022 - 2024 — McMap. All rights reserved.