Questions tagged [modal-window]

138 questions
0
votes
1 answer

ASP.NET MVC - modal window for passing additional credentials

In my application I have several areas(views) which should be accessible only for these users who have certain privilages. IF currently logged user do not has right to see given view a popup window should appear. In this moment user can give some…
0
votes
1 answer

Wicket: ModalWindow and ClassNotFound: CompressedResourceReference

Everytime I try to implement a modalwindow I get: java.lang.ClassNotFoundException: org.apache.wicket.request.resource.CompressedResourceReference None of my libraries has this element. My dependency are:
user1090145
  • 25
  • 1
  • 8
0
votes
0 answers

Form with shaked or highlighted when required fields are not filled and playing music after clicking send button and modal open

I would like to implement a function to highlight, underline or caption blank mandatory fields. I have implemented the functionality of the modal window appearing only when all mandatory fields are filled in, but I would like that if optional fields…
Kyrylo
  • 3
  • 4
0
votes
0 answers

Switch to Modal window in robot framework

Can someone explain how to switch to modal window using robot framework. Tried "Switch Window" and "Select Window" methods. Still showing elements are not interactable. Also tried the "Press Keys None TAB" method, but not efficiently working It's a…
Jibin
  • 1
0
votes
1 answer

Modal window doesn't close smoothly

The modal window opens smoothly and there are no problems with this, but when closed, it closes instantly and no animation works. What needs to be fixed/added? Modal component: const ModalContent = ({ children, closeModal }) => { useEffect(() =>…
0
votes
1 answer

How to call modal window instead of message with blocks in Slack app?

After command '/day-off' in my Slack app this code calls message with blocks. But I need a modal window with same blocks. How to do that? let newTimeOff = 'test'; if (ctx.state.isSlackBot) { newTimeOff = { blocks: [ // Start…
Roman
  • 1
0
votes
1 answer

AJAX form submission within modal window

I'm using fancybox to pop up modal windows for various form submissions on my site. when a user clicks the register button, a modal pops up with the registration form. upon clicking submit, the info is supposed to go to the database via a jquery…
chaoskreator
  • 889
  • 1
  • 17
  • 39
0
votes
0 answers

How can I make modal windows for cards that aren't spawned yet In Unity?

Okay so I have this unity project which consists of an Add Card button. With that button I can add more cards (the cards that are spawning are buttons) to the canvas. Now I want to make it so that each time you click on a card, each of them has a…
0
votes
1 answer

Variable coming up as undefined when called outside of a function, but working when called inside the function

I have a function that creates an html dom modal window with a textbox and a button that closes it. When the close button is clicked, the value of the textbox is stored in a variable. The variable (as far as I know) is global, and is not limited to…
0
votes
1 answer

How can I make a program wait for a modal window to close?

Essentially, I'm trying to recreate the "alert" and "prompt" functions, but in a single function that uses a modal window. I have it set up so that when one of the function's parameters is set to 1, it adds a text field to the modal window and…
0
votes
1 answer

Modal windows in React

Here you can see my code in React.js I want to have several modal windows in one React component. I tried to use Modal from “react-native”, but it didn’t work. Now I’m trying to use my own realisation of modal window, you can see it here. I want to…
0
votes
1 answer

Modal window for each product (Vue.js)

I'm developing a small online store (Vue.js) I have several products with different names and prices. Each product has a "Details" button. I want a modal window with the names and prices of this product to appear when I click on the "Details"…
Adlet
  • 5
  • 1
  • 5
0
votes
1 answer

How to use WinAppDriver to locate elements on Modal window of Modal window

I'm trying to automate a Windows Printer Driver Application on windows 10 pro with newest WinAppDriver v1.2.1.WinAppDriver. The test script cannot locate any element on the Preferences Window, which is a Modal window's Modal Window. The test…
lw x
  • 1
  • 3
0
votes
1 answer

Deploing React site with ChackraUI on Vercel and modal window stopped showing

I have a page with a modal window. In development mode, it opens. But when I upload my React App to vercel, then the screen just darkens there, and the modal window does not appear, but all the window controls work. Who faced the same problem? const…
0
votes
2 answers

how to remove duplicate code from modalOverlay and closeBtn?

I have different modal windows, I added a close button but faced with duplicate code, how can I shorten the code for modalOverlay and closeBtn? and for some reason the second close button does not work, help pls…
Katty
  • 11
  • 5