Skip to content

Commit

Permalink
docs: blogpost 1.7.0 (#230)
Browse files Browse the repository at this point in the history
## 📜 Description

Added a new blogpost about upcoming `1.7.0` release.

## 💡 Motivation and Context

To keep people aware about new changes and about roadmap of the library.

## 📢 Changelog

<!-- High level overview of important changes -->
<!-- For example: fixed status bar manipulation; added new types
declarations; -->
<!-- If your changes don't affect one of platform/language below - then
remove this platform/language -->

### Docs
- added blogpost for `1.7.0` release

## 🤔 How Has This Been Tested?

Tested on localhost:3000 🙂 

## 📸 Screenshots (if appropriate):

<img width="760" alt="image"
src="https://github.com/kirillzyusko/react-native-keyboard-controller/assets/22820318/4e107570-a174-470b-aa24-496771356792">

## 📝 Checklist

- [x] CI successfully passed
  • Loading branch information
kirillzyusko committed Sep 8, 2023
1 parent d887ec6 commit ad7e959
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions docs/blog/2023-09-08-components/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
slug: components
title: Introducing KeyboardAvoidingView - Elevating Your React Native UI Experience
authors: [kirill]
tags: [react-native, keyboard, avoiding view]
keywords: [react-native-keyboard-controller, keyboard, keyboard avoiding view, avoiding view, KeyboardAvoidingView]
---

I'm glad to announce the upcoming release of `react-native-keyboard-controller`, a library designed to enhance your React Native app's user experience. This release marks a significant milestone as I introduce a powerful new feature: the `KeyboardAvoidingView`. But that's not all – I have exciting plans to expand the collection of pre-built components to simplify handling keyboard insets even further.

import KeyboardAvoidingViewComparison from '../../src/components/KeyboardAvoidingViewComparison';

<KeyboardAvoidingViewComparison />

<!-- truncate -->

## A Better Way to Handle Keyboard Insets

One of the common challenges React Native developers face is handling the keyboard's appearance and disappearance gracefully. It's especially important when you want your app to look and feel polished on both `iOS` and `Android` devices. While the built-in `KeyboardAvoidingView` component in React Native works well for `iOS`, it doesn't provide the same level of smoothness and consistency on `Android`.

I have been hard at work, and in this upcoming release, I'm thrilled to unveil the enhanced `KeyboardAvoidingView`. With this component, you can achieve a seamless keyboard animation experience across both major platforms `iOS` and `Android`.

## Features of `KeyboardAvoidingView`

### Platform-agnostic Animation

With the new `KeyboardAvoidingView`, you can say goodbye to platform-specific workarounds. This component is designed to work harmoniously on both `iOS` and `Android`, ensuring a consistent user experience throughout your app.

### Smoother Animations

The enhanced `KeyboardAvoidingView` offers smoother and more natural animations when the keyboard appears or disappears. This means your UI elements will gracefully adjust to accommodate the keyboard, preventing awkward overlaps and ensuring your users can interact with your app seamlessly.

### Backward Compatible and Seamless Integration

I understand the importance of maintaining compatibility with existing codebases and providing a smooth transition for React Native developers. With enhanced `KeyboardAvoidingView`, I've put compatibility at the forefront of design principles.

The `KeyboardAvoidingView` is crafted to seamlessly integrate with your existing React Native projects. It's a **drop-in** replacement for the default React Native `KeyboardAvoidingView` component. This means that you can start using an enhanced version without the need for extensive code modifications or rewrites.

Whether you're working on a brand-new project or updating an existing app, making the switch to re-implemented `KeyboardAvoidingView` is as simple as updating your import statements. Your existing codebase remains intact, and the benefits of smoother animations and cross-platform compatibility come without the hassle 😎

### Customizable

I believe that the best tools are those that adapt to your unique project requirements. That's why I'm excited to introduce a dedicated avenue for customization. If you find that the default behavior of `KeyboardAvoidingView` doesn't precisely align with your app's needs, I encourage you to explore the possibilities of customization 🤓

#### Share Your Ideas and Report Bugs 💡

Your feedback is invaluable to me. If you have ideas for new features, improvements, or you encounter any issues while using `KeyboardAvoidingView`, I invite you to get involved. Feel free to submit your suggestions, feature requests, or bug reports through my [GitHub](https://github.com/kirillzyusko/react-native-keyboard-controller) repository.

The community is built on collaboration, and together, I believe we can make this library even better. By actively participating and sharing your insights, you contribute to the growth and enhancement of `react-native-keyboard-controller` and `KeyboardAvoidingView` in a particular.

## What's Coming Next

While I'm excited to introduce the `KeyboardAvoidingView` in this release, my commitment to making your React Native development experience smoother doesn't stop here. I have big plans to expand the library with more pre-built components designed to simplify complex tasks related to keyboard handling.

In the pipeline, you can look forward to components like `KeyboardAwareScrollView` for effortlessly managing scroll views, `StickyFooter` for keeping crucial UI elements in view, and much more. My goal is to provide you with a comprehensive toolkit for creating exceptional user interfaces in React Native.

Stay tuned for future updates and releases as I continue to enhance the `react-native-keyboard-controller` library. Follow me on [Twitter](https://twitter.com/ziusko) and [GitHub](https://github.com/kirillzyusko) for updates. Thank you for your support! 😊

0 comments on commit ad7e959

Please sign in to comment.