I'm trying to move the delete button's functionality into a modal, as to get a confirmation before deleting from a simple pocket tap. If I open the inspector I can manually make it appear by changing the display in CSS, but I thought that's what the library was handling for me.
..probably related _clientsrc/src/components/BarrelEdit.js,
the Datepicker is also inaccessible until after a refresh & they are both Materialize components, but refreshing doesn't work for the modal.. & the side Nav seems to function fine.
The index has references to materialize CSS & js then they are all being initiated in the document ready call at the bottom of the page. _/clientsrc/public/index.html
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css"><script defer="defer" src="https://use.fontawesome.com/releases/v5.0.8/js/all.js" integrity="sha384-SlE991lGASHoBfWbelyBPLsUlwY1GwNDJo3jSJO04KZ33K2bwfV9YBauFfnzvynJ" crossorigin="anonymous"></script><title>Food Liberation Front</title><link href="/static/css/main.24854688.css" rel="stylesheet"></head><body class="green"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script><script>$(document).ready(() => {
// Init Modal
$('.modal').modal();
// Init Sidenav
$('.button-collapse').sideNav();
// Init datepicker
$('.datepicker').pickadate({
selectMonths: true, // Creates a dropdown to control month
selectYears: 15, // Creates a dropdown of 15 years to control year
format: 'dd-mm-yyyy' });
});</script><script type="text/javascript" src="/static/js/main.e9f763ab.js"></script></body></html>
I'm trying to move the delete button's functionality into a modal, as to get a confirmation before deleting from a simple pocket tap. If I open the inspector I can manually make it appear by changing the display in CSS, but I thought that's what the library was handling for me.
_/clientsrc/src/components/BarrelDetails.js
..probably related
_clientsrc/src/components/BarrelEdit.js,
the Datepicker is also inaccessible until after a refresh & they are both Materialize components, but refreshing doesn't work for the modal.. & the side Nav seems to function fine.
The index has references to materialize CSS & js then they are all being initiated in the document ready call at the bottom of the page.
_/clientsrc/public/index.html
https://flf9090.herokuapp.com