▲ 2 r/expo+1 crossposts

How to make multiline textinput scrollable after certain lines

I'm trying to make a multiline TextInput that starts at one line and increases its height whenever the text moves to a new line, up to a maximum of 5 lines. After it reaches 5 lines, I want the height to stay fixed and any additional lines to become scrollable. I'm using lineHeight: 20, so I tried setting the maxHeight to 100, along with multiline and scrollEnabled.

I've also tried using onContentSizeChange to dynamically update the height, but I still can't get the behavior I want. I'm using Expo SDK 54 with the New Architecture on an iPhone 16 simulator. Has anyone implemented this kind of TextInput behavior? What's the proper way to handle the height and scrolling after 5 lines?

PS: used AI to write the body, my english (maybe react native too) is bad to make you understand my use case

reddit.com
u/tr__18 — 11 days ago

Good Dentist in virar vasai

Hey guys, I was wondering do you know any good Dentist hospital/clinics for cleanup ( or maybe whitening too ). I will be visiting the dentist for the first time, later this year . So I just wanted to know your experience.

Also, please mention the fee too, I heard people do cleaning 2-3 times a year 🥲

I haven't given that much attention to my teeth since childhood but now since I have been trying to improve different areas of my life I thought now it's time for my teeth.

u/tr__18 — 2 months ago

Want to buy my first iem ( and also the last, hopefully ) under 2.5k

Hey, guys, it's been 2 week I am searching for a good IEM, and tbh it's frustrating :)

Whenever I decide to buy one, after some time I see some utube video or a redditor complaining about it. I want to conclude this week which one to buy.

I will be using iem for

  • Listen to music - generic bollywood and some popular english songs
  • Watch anime and any other series

No gaming or any extensive monitoring stuff. Though I am learning guitar and want to listen to it, I am a newbie, so it also doesn't matter too.

Budget is under 2500 rupees, excluding DAC. Also suggest a good DAC under 1k which is in stock

u/tr__18 — 2 months ago
▲ 4 r/expo+1 crossposts

How important is testing for you (for a project and as a developer)

Just as the title states, I wanted to know how you people write your tests for the project.

In my first job, there was no such thing as testing. We just checked the functionality and the UI on different devices and OS versions. But in my current job, the manager is asking to have test-driven development and to write tests for the react native application.

I have heard of some libraries like Jest and react-native-testing-library, but I wanted to know how much I should learn or apply to my project. Also, there are Detox and Maestro too.

If any one used this or uses any other testing thing from a developer perspective, please share your knowledge.

reddit.com
u/tr__18 — 3 months ago

Good tailor for Men formals

I will start applying for jobs in the next 2-3 weeks, so in case I get a call for an offline interview, I would need some good formals for a good first impression.

So do you people know some good tailor where I snitch my formals also the area from where I get the cloth for it.

Taking readymade is not an option, as my thighs are big for my height ( fu*k weighted squats )

Also do you know some good color combo ?

reddit.com
u/tr__18 — 4 months ago

Mostly during the night time even with the consistent lighting and a little bit of camera moment the brightness/ exposure keep flickering even after I set it low manually. And fuck there is no way to lock it

Also 1080p 60 fps is good, but when I try 4k 30fps the video doesn't feel smooth

How to complain about it or let the company know this is causing a problem.

Video shot from nothing 4a

u/tr__18 — 6 months ago