The $ionicPopup is not displaying at the bottom of the screen as expected

I'm a beginner in Ionic framework and AngularJS. I'm currently using the Confirm style Ionic popup, but for some reason the buttons aren't appearing at the bottom of the popup.

Check out my updated codepen here:

[http://codepen.io/skpatel/pen/ZGwGOO][1]

I've been struggling with this issue for quite some time now, any assistance would be greatly appreciated.

Answer №1

I have made some improvements to the code pen, everything seems fine but there are occasional instances where the popup behaves unexpectedly. To resolve this issue, simply adjust the following CSS:

.popup-body {
    padding: 10px;
    overflow: auto;
    height:100%; 
} 

UPDATE: The desired functionality should ideally be implemented using "$ionicModal", however, if you prefer to use "$ionicPopup", please note that ion-content should not be used within a pop-up. Just a heads up!

You can view the updated Code-Pen here:

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Tips for concealing all items except the currently selected branch when clicking on a menu drop-down

I am seeking a solution to open only one node at a time on click, and remove the 'is-active' class from other items. Currently, there is excessive space taken up after opening multiple menu items. I want to ensure that only one node is open at a ...

Navigating AngularJS with multiple external files and folders

Recently dove into Angular and hit a roadblock with routing. I followed the setup instructions, but for some reason it's not functioning as expected. index.html: <!DOCTYPE html> <html lang="en> <head> <meta charset="utf-8> ...

The $dbServiceProvider in AngularJS, Sqlite, Electron seems to be unrecognized

I am currently working on an electron app that is supposed to display and retrieve items from a SQL database I created. However, I keep encountering an unknown provider error. Despite trying various solutions found online, the issue persists and I am unab ...

Design a food selection with only CSS and HTML

I am working with a menu structure that looks like this: <ul class"menu"> <li> <a>item1</a> <ul> <li><a>subitem1</a></li> <li><a>subitem2</a></li> &l ...

simultaneous image hover effect for all images

I am experiencing an issue with my CSS and Bootstrap hover effect. The overlay tags are enclosed within a div class, but they all hover simultaneously. Each overlay belongs to a different Bootstrap grid, yet the effect extends even to the empty spaces betw ...

Discover the process for connecting to the 'OnOpen' listener for a uib-popover

Context: Currently working with Angular 1 and utilizing the UIB Popover control. Within the popover template, there is a text field that I want to automatically focus on whenever the popover is displayed. https://i.sstatic.net/20wDX.png Unfortunately, t ...

Alter the CSS of a particular ul li tag using jQuery when hovering over it

Just starting out with jQuery and struggling to accomplish my goal. Need to work with HTML only as the server doesn't support PHP or Ruby, and I'm still learning those languages. Working with the latest jQuery version 1.10.2. My issue involves a ...

Tips for comparing and adding a field to a sub-array within an object

I have a scenario where I have two objects. The first object contains name and id, while the second object has some fields along with the id field from the first object. For Example: FirstObj = [{ _id: '48765465f42424', Name : 'Sample& ...

Executing a function within a ng-repeat iteration

Is there a way to call a method within an ng-repeat loop, even if the element does not exist at that moment? I'm facing this issue and I'm not sure how to resolve it... The ID seems to be correct. Strangely, when I run it in the console after ev ...

My JavaScript code runs perfectly fine on JSFiddle, but for some reason, it's not functioning correctly on

I need a solution where a new button is generated every time the post button is clicked, and each of these buttons should have its own counter. This works successfully in JSFiddle, but unfortunately doesn't work when I try to implement it elsewhere. ...

Currently, I am compiling a list of tasks that need to be completed, but I am encountering a dilemma that is proving difficult to resolve

Recently delved into the world of Javascript and encountered a roadblock that I can't seem to overcome. Here's the snippet of code causing me trouble: add = document.getElementById("add"); add.addEventListener("click", () => { console.log("Ple ...

Guide to making control bar fade out when video is paused on video.js

Is there a way for the control bar to automatically disappear when the video is paused? Thank you in advance! ...

What could be causing the issue with absolute positioning not functioning correctly?

I'm having trouble keeping my footer at the bottom of the page: body, html{position:relative;} footer{position:absolute;} Even when I use bottom: 0;, the footer doesn't seem to go all the way to the bottom. Is there anyone who can help me troub ...

Angular 2 counterpart to the renderToString function in React

I need to find the equivalent in Angular 2 of react-dom/server.renderToString import { renderToString } from 'react-dom/server'; // Render the component to a string const html = renderToString( <App /> ); Can someone provide a simpl ...

Is there any purpose to incorporating an AngularJS directive within a comment?

Hello, I'm curious about the purpose of using an AngularJS directive as a comment. I've seen some examples where it can display an alert message, even with arguments, but I'm struggling to see the practical use of a directive as a comment. C ...

Ways to incorporate a scroll feature and display an iframe using JQuery

Is there a way to animate the appearance of hidden iframes one by one as the user scrolls down the website using jQuery? I have come across some solutions, but they all seem to make them appear all at once. I'm looking for a way to make the iframes s ...

Is there a way to merge attribute selectors for elements that satisfy one condition or the other?

Is there a way to combine selectors effectively? <input type=number> <input type=date> I was able to successfully hide the arrows in a number field with the following code: input[type=number]::-webkit-inner-spin-button, input[type=number]::- ...

Copy the style of a chosen element and apply it to another element

One of the challenges I'm facing involves a dynamic span element that changes based on color selection: <span class="color checked" style="background-color: #ff0000">Red</span> In addition, I have an image element wit ...

AngularJs gm.datepickerMultiSelect is experiencing an issue with dates

I am currently working on implementing the gm.datepickerMultiSelect module in AngularJS. I have encountered an issue with a day offset when selecting a date and have pinpointed the line in the library that is causing the problem: var dateVal = Date.parse( ...

What is the best way to include a black hover effect on an image?

I am facing a minor issue as a newbie web developer working on a Bootstrap 4 project. Here is the snippet of my code: <section class="front-banners"> <div class="container"> <div class="row" ...