Skip to content

Instantly share code, notes, and snippets.

@davidgeary
davidgeary / ionselect-autoscroll.directive.ts
Last active January 29, 2021 08:57
Angular directive to force selected item in Ionic 5 ionSelect component to be scrolled into view
import { Directive, HostListener } from '@angular/core';
const IONSELECT_DISPLAY_DELAY_MS: number = 250; /* In milliseconds */
/** Directive to force selected item in ionSelect component to be scrolled into view
* Provides a workaround for issue #19296 (https://github.com/ionic-team/ionic-framework/issues/19296)
*/
@Directive({
// tslint:disable-next-line: directive-selector
selector: 'ion-select'
@davidgeary
davidgeary / keybase.md
Created March 26, 2020 14:42
Keybase proof of identity

Keybase proof

I hereby claim:

  • I am davidgeary on github.
  • I am davidgeary (https://keybase.io/davidgeary) on keybase.
  • I have a public key ASC0FgJwVYi9KBEv2f5yEkFzZPtRCE3HMtAsbASY23t0two

To claim this, I am signing this object: