Region MaxLength isn't working as expected
See original GitHub issueVERSION: 4.5.1 OS: MAC BROWSER: GOOGLE.
Region max length is not working properly it only prevents the region UI to not exceed maxLength but region resizing pointer kept moving having region’s maxlength exceeded. Below is my code:
const surfer = WaveSurfer.create({
container: waveformRef.current,
waveColor: '#ffffff',
progressColor: '#ffffff',
scrollParent: true,
backend: 'MediaElement',
height: 80,
cursorWidth: 2,
cursorColor: '#dc6eb5',
plugins: [
RegionsPlugin.create({
regions: [{
start: 0,
end: 15,
color: 'rgba(2,161,245,0.6)',
id: 'region1',
minLength: 15,
maxLength: 600,
}],
}),
],
});
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Text Area maxlength not working - Stack Overflow
I tried maxlength in textarea, but does not count the characters correctly(also counts the EOLs). I use max_length attribute instead of normal maxlength...
Read more >lightning:input : maxlength attribute not working
It seems the maxlength attribute is not working on the lightning:input. Ihave put a maxlength of 5 but I can enter more than...
Read more >TextField doesn't respect maxLength limit #67898 - GitHub
Expected results: TextField allows to enter only maxLength characters ... but I think this is not how I'd expect "maxLength" would work.
Read more >Soft limit does not work on plain text fields because ... - Drupal
Enable the maxlength module · Go to the manage form display of the content type that has a long, plain text field on...
Read more >The maxlength attribute on textarea is not accurately counting ...
Steps: Navigate to the URL. Enter text in the right side space provided. The characters count is accepted till 197 or 198. Expected...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@azeemakhter-arbisoft the #2374 is not released yet
No, Still looking for a possible alternative or a solution to this.