
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@nagoos/vue-bottom-bar
Advanced tools
A component for keeping an input fixed to the bottom of a browser (including safari on ios)
When we were creating a chat-like UI, having keeping a chat bar at the bottom of the screen was a surprisingly difficult problem. Especially when dealing with Safari on ios. @nagoos/vue-bottom-bar is a component that you can pass your own components into. The passed components will be kept glued to the bottom of the browser.
See codesandbox demo here
In our demo, we demonstrate using a vuetify input component, which simulates text inputs that found at the bottom of popular messenger programs. However, almost any component should work.
On of the challenges we faced was how IOS frequently drew the keyboard or word-suggestions over content at the bottom of the screen. vue-bottom-bar
has special css to prevent this use-case. This behavior is especially bad when using foriegn-input keyboards such as Japanese or Chinese.
yarn add @nagoos/vue-bottom-bar
BottomBar
component and the accompanying css.components
section.<BottomBar><BottomBar/>
tags
<template>
<BottomBar>
<v-textarea :rows="1" placeholder="input here..." hide-details solo append-outer-icon="send"/>
</BottomBar>
</template>
<script>
import BottomBar from "@nagoos/vue-bottom-bar";
import "@nagoos/vue-bottom-bar/dist/vue-bottom-bar.css";
export default {
name: "App",
components: {
BottomBar
}
};
</script>
FAQs
A component for keeping an input fixed to the bottom of a browser (including safari on ios)
The npm package @nagoos/vue-bottom-bar receives a total of 0 weekly downloads. As such, @nagoos/vue-bottom-bar popularity was classified as not popular.
We found that @nagoos/vue-bottom-bar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.