Overlapping floating action buttons

I am trying to display two floating action buttons (FABs) on top of each other, but currently they are overlapping as shown in the picture below.

Although I know this may be a common issue, I have not been able to find a solution using Vuetify.

https://i.sstatic.net/rbdis.jpg

This is the code snippet I am using:

<v-btn fab bottom fixed right dark color="primary"></v-btn>
<v-btn fab bottom fixed small right dark color="secondary"></v-btn>

Vuetify version: 2.1.11

Answer №1

To combine them, you can place both elements inside a constant container such as the v-navigation-drawer...

  <v-navigation-drawer stateless permanent floating fixed right>
        <v-btn fab dark color="primary" class="mb-2">
        </v-btn>
        <v-btn fab dark color="secondary">
        </v-btn>
  </v-navigation-drawer>

Live Demo

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

Once the <a> element is clicked, ensure that the function finishes executing before attempting to click/process it again

Utilizing jQuery.get for AJAX requests, I trigger a server request when the user clicks on the <a> element. The response is then used to update the content within the <div id='aaa'>. However, if the user clicks on the <a> rapid ...

How can we temporarily exclude a model property in AngularJS when a form field is disabled?

Take a look at this example: http://codepen.io/troywarr/pen/zxWLeZ I'm working on a form similar to the one in the example where users can opt out of entering certain data by clicking a checkbox. I am using ng-disabled to disable the relevant field ...

Text input setting for jQuery UI Slider

Currently, I am utilizing jQuery UI sliders to input values in text boxes. However, I would like this functionality to be bidirectional; meaning if a value is entered into the text box, I want the slider to move to the corresponding position. I am unsure ...

Position the text to the right of the div or image and allow

My attempt to align the lorem ipsum sample text next to the image and div container by setting the float to right has not been successful. The text still remains below the image. Click here for visual reference Appreciate any help in advance. #outer { ...

Guide on using double quotation marks for keys and values in a JavaScript array

I have an array that contains buffer data shown below [{ Buffer_Data: <Buffer b5 eb 2d> },{ Buffer_Data: <Buffer b5 eb 2d> },{ Buffer_Data: <Buffer b5 eb 2d> },{ Buffer_Data: <Buffer b5 eb 2d> }] I need to add double quotes to bot ...

Suggestions for preventing the highlighting of the space between buttons on a webpage

html: <button id='automoney' onclick='minusTen()'></button> <button id='automoney2' onclick='minusHundred()'></button> <button id='automoney3' onclick='minusFiveHundred()& ...

Using Three.js to implement a shader for blurring a geometric shape

After spending the past day diving into ThreeJS, I've hit a roadblock with Shaders. My goal is to blur a specific geometry, but my attempts at using Depth Of Field resulted in unintended blurriness of foreground objects. I want to isolate one object ...

Can you provide some guidance on passing a PHP object or array to a Vue prop without using Blade?

This is not Blade, instead it's a regular PHP file containing the inline-template of my Vue component. Therefore, I do not have access to the typical Laravel/Blade {!! !!} shorthand. I am currently in the process of migrating an old Codeigniter proje ...

Is there a way to instantly remove script from the document head using jQuery instead of waiting a few seconds?

I currently have a setup where I am utilizing Google Maps in production. To make this work, I must include a script in the head of my document that contains the API key for the Google Maps JavaScript API that my application relies on. The API key is being ...

What is the suitable condition necessary for optimal functionality?

Greetings all! I am a newbie in the world of development and also new to Stack Overflow. This is my maiden post seeking assistance on the following issue: $(document).ready(function() { $(".header").click(function() { if ($(".header-content"). ...

issue with node callback function - code malfunctioning

I have written a script in Node.js and Express to send an email after a SQL transaction is successfully completed! router.post('/',function(req,res,next){ sql.connect(config).then(function() { var request = new sql.Request(); ...

ng-repeat did not properly listen for changes in the radio box selection

Feeling a bit confused here. I'm trying to call a function on change and pass the obj to it. From what I understand, since it's bound to the selected obj, I should be able to just use ng-model. However, in this situation, nothing happens when I s ...

How can I confirm that all elements have been properly reset to their original positions prior to making any further adjustments to them?

In need of some creative brainstorming, I'm working on a website design featuring ten overlapping cards. When the mouse hovers over a card, it expands while others move away. My goal is for each card to return to its original position once the cursor ...

Creating a Webgrid in MVC and integrating it with a custom class in AngularJS

Hey there, I'm a beginner when it comes to AngularJS and I'm looking to bind the webgrid within the method of AngularJS. $scope.SaveDetails = function () { debugger; var UserID = '@Session["ID"]'; ...

Encountering a Laravel Vue API issue with an internal 500 server error indicating that the AppUser model

Encountering difficulties when attempting to post to phpMyAdmin while working locally. The site's routing is functioning properly overall. I have tried adding a model to the auth.php file and adjusting the namespace in user.php to include Models, as s ...

How to attach onclick events to newly created div elements using JavaScript

Having some trouble adding click events to multiple dynamically created div elements. After creating divs with ids a0 through an, I want to assign them click events using a for loop. The problem is that when the click event occurs, I can't identify w ...

Altering the state ahead of rendering

I am experiencing an issue where the Parent component is passing empty props to the Child component. This may be due to my attempt to set the state of my data within a function instead of in a constructor (for the Parent component). I only want the state o ...

The CSS properties intended for ion-button elements are not taking effect

I'm attempting to set a background color when a ion-button is clicked or maintain the ion-ripple effect after it has filled the button in Ionic 4. I experimented with applying custom CSS states in global.scss, but encountered issues where the active ...

What is the solution to determining the width in AngularJS without taking the scrollbar size into account

How can I retrieve the window inner height without including the scrollbar size when using $window.innerHeight? ...

The components in React seem to be failing to render, but the console.log function is

I'm struggling to render a component based on the navigation. Despite no issues with console.log(), nothing appears when I try to display a component. import Header from "../components/header"; const navigation = [ { name: "Chat" ...