Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.