This gist provides a simple JavaScript implementation of the non-standard WebKit method scrollIntoViewIfNeeded that can be called on DOM elements.
npm install element.scrollintoviewifneeded-polyfill
Usage
**/node_modulesprettier --write "**/*.js" *Don't forget the quotes.| public static function form(Form $form): Form | |
| { | |
| return $form | |
| ->schema([ | |
| Forms\Components\Grid::make() | |
| ->schema([ | |
| Forms\Components\Card::make() | |
| ->schema([ | |
| Forms\Components\TextInput::make('name') | |
| ->required() |
| <!-- | |
| <form autocomplete="off"> will turn off autocomplete for the form in most browsers | |
| except for username/email/password fields | |
| --> | |
| <form autocomplete="off"> | |
| <!-- fake fields are a workaround for chrome/opera autofill getting the wrong fields --> | |
| <input id="username" style="display:none" type="text" name="fakeusernameremembered"> | |
| <input id="password" style="display:none" type="password" name="fakepasswordremembered"> | |
| import React from 'react' | |
| import ReactDOM from 'react-dom' | |
| import singleSpaReact from 'single-spa-react' | |
| import { property } from 'lodash' | |
| import setPublicPath from './set-public-path.js' | |
| const reactLifecycles = singleSpaReact({ | |
| React, | |
| ReactDOM, | |
| loadRootComponent: () => import(/* webpackChunkName: "react-app" */'./App.js').then(property('default')), |
| FROM php:fpm | |
| # Install packages | |
| RUN apt-get update | |
| RUN apt-get install -y unzip | |
| RUN apt-get install -y libaio1 | |
| # Oracle instantclient | |
| ADD instantclient-basic-linux.x64-11.2.0.4.0.zip /tmp/ | |
| ADD instantclient-sdk-linux.x64-11.2.0.4.0.zip /tmp/ |
This procedure is tested on Mac OS X 10.12.6 with Developpers tools installed (xCode).
PHP 5.6 installed with https://php-osx.liip.ch/.
Download the following files from Oracle website (yes, you need to create an account and accept terms):